WordPress Plugins and AJAX
The last couple of days I’ve been doing a ton of AJAX programming on some WordPress plugins. Wordpress actually does have one very handy AJAX feature that makes using AJAX just a little easier. I also use jQuery because it’s really nice for a lot of things including AJAX work. AJAX is a great technology, and [...]
Forget Trac, The Bug Genie is Awesome
Yes, its a cutsie name, but The Bug Genie is a PHP bug tracking system that is the opposite of Trac in the best possible ways. First of all you create a MySQL database and copy The Bug Genie files to your web server. Then you go to your website, where The Web Genie greets you [...]
MySQL Counters
Today I went to Panera (free wi-fi) to get some work done away from the distraction of my dachshund. I’m changing a lot of my PHP code to use classes, and needed to focus. After enjoying some soup on a bread bowl (it must be fall) I started working. I didn’t get far. I realized what [...]
Snow Leopard Upgrade on my MacBook Very Painful
Now, in this case it isn’t really Apple’s fault. It’s sort of everyone’s fault. There’s a reason even complex things need to be simplified and it’s to avoid the situation I’m in right now. After installing Snow Leopard on my other machine and thinking I found all the kinks my MacBook still won’t connect to a [...]
Snow Leopard Install Hazardous to Apache Virtual Hosts, MySQL, and PHP
I am using the Apache vhosts feature to run multiple websites on my machine, many of which are running WordPress and therefore also using MySQL. The Snow Leopard installation was almost as disastrous as it could be for this setup. Pre Snow Leopard Installation Warning Be sure to back up your /etc/apache2/extra/httpd-vhosts.conf file before you install Snow Leopard. It [...]
(Not) Using dbDelta with WordPress
Today I did some experimentation with the dbDelta function in WordPress. I’ll get right to the point, I don’t recommend it. I read about the function in the article Creating Tables with Plugins which talks about adding tables to WordPress from a plugin. This is exactly what I was doing. I want to make it clear [...]
Learning MySQL
I have plenty of experience with databases, but I haven’t been hands on for a while. Now I am hands on developing plugins for WordPress. It’s really fun for me. Today I needed to know the MySQL type to use for holding money or currency values: DECIMAL(10,2) There is surprisingly little discussion on this and what discussion exists [...]
MacFUSE and Macfusion
I’m at the library where I can really get some work done. It seems like I can never get things done fast enough. After experimenting with Google’s MacFUSE and Macfusion to edit files directly on my webhost from multiple computers, I decided it wasn’t working for me. The software basically works as advertised, but saving and [...]