It’s good to see that Ubuntu 7.04 includes support for the PHP PDO extension. I was a little confused when I saw php5-mysql, thinking it was just the mysql_ extension, but it actually includes the pdo_mysql drivers in addition to the mysql_ and mysqli_ extensions. Yay!!
April, 2007
...now browsing by month
Ubuntu 7.04 includes PHP PDO extension
Saturday, April 28th, 2007Firebug Rocks!!
Monday, April 23rd, 2007I recently had to debug problems with website and discovered a great Firefox extension called Firebug to help. I can honestly say, once you’ve used Firebug you’ll never go back. This is one hell of a tool for sorting out what’s going on.
Presenting at SydPHP in May
Wednesday, April 18th, 2007I’ll be talking about PDO at the May Sydney PHP Users Group meeting. If you’re in town then come along and say hi. This will probably be my last talk before running my first PHP training course in Sydney. (Hint: If you’re interested in PHP training in Sydney then contact me soon)
Beyond that I’ll be working on papers I’m hoping to present at OSDC 2007 and LCA 2008.
Ubuntu 7.04 nearly here
Tuesday, April 17th, 2007Ubuntu 7.04 is nearly here. Just two more sleeps (maybe three if you’re in Australia like me). Personally I can’t wait based on what I saw of the early tests.
Browser caching
Wednesday, April 11th, 2007I recently needed to make a page expire so that when the user clicked on the back button it didn’t show the page. This was required for two public computers used for registrations. While I could disable the back button the backspace key in IE continued to work as a keyboard shortcut for it.
Thankfully this only applied to two computers running IE 7. I tried all of the usual suspects to expire the page or disable caching
- Set
Pragma: no-cache - Set
Cache-control: no-cache, must-revalidate - Expire the page in the past
- Expire the page at the time it was sent
What I found is that if you do any of these then IE ignores your attempts to expire the page. The solution that worked for me was
- Set
Cache-control: must-revalidate - Expire the page at least 1 second into the future
Time for a new development environment
Tuesday, April 3rd, 2007Every now and then it’s good to review your development environment. I’ve been thinking about updating mine for the last couple of month. I’m extremely happy with vim so it’s safe.
My main interest was in a new version control system. A friend recommended Subversion and after reading Practical Subversion I decided to switch to it. I thought I might stop at that until I saw the OmniTI Labs website a few weeks ago. I had heard of Trac before but this was the first time I’d paid any real attention to it.
Trac allows you to build a complete website for your project with a wiki, ticket system and code repository (using subversion). With all three components combined the result is actually more than the sum of the parts. You can view a time line showing changes in all three components, search across all three components and generate a road map based on tickets.
I’m off to build my own labs site
This site contains my personal ramblings on Linux, PHP, Java, .NET and anything else that I feel is important.