Category Archives: Code

Using PostgreSQL with WordPress

This site has been using PostgreSQL as a back end for WordPress since the beginning.  This is possible with a nice little plugin PG4WP that will translate queries on the fly into something that PostgreSQL can understand. I’m a big … Continue reading

Posted in Code | Tagged | Comments Off

Connect to Your Local Development Sites from VirtualBox Guests

Like many web developers, I do most of my work with a web server running on my local machine. In my case, I’m running Apache HTTPD from MacPorts on my MacBook Pro, and I have various sites in development using either Ruby or PHP. Due to the nature of the projects, or simple because it’s a good idea, I prefer to test my sites in various browsers, including Internet Explorer, which is not available on Mac OS. So, I’ve set up multiple virtual machines using the freely available VirtualBox. Continue reading

Posted in Code | Tagged , | 3 Comments

Installing PostgreSQL on Mac OS X

Here is what I did to get PostgreSQL and the postgres ruby gem installed on Mac OS X Leopard. This post is more for my personal reference, but if anyone finds it useful, so be it. There are other posts around that deal with the same issue, but I’ve not found one that has the complete picture. Continue reading

Posted in Code | Tagged , | 2 Comments

Not So Smarty

I’ve used the Smarty template engine on a large PHP project for many years now.  Back in my younger days (2002 or so) we thought it was great – we could finally get good separation of concerns on our web … Continue reading

Posted in Code | Tagged , | Leave a comment