Pragmatism in the real world

Zend Framework 0.1.2

The Zend Framework 0.1.2 is now out, so it's time to get out WinMerge and see what's changed :) There's lots of changes, one of which I reported! Zend::loadClass() and Zend::loadInterface() now work with __autoload ! Other highlights are a lot of changes to the filter stuff and a few other changes to the other main modules. I have only looked at the View and the Controller modules so far so will only comment on… continue reading.

Zend Framework: Database Access

Now that I have the semblence of a working system with views coupled up to our action controllers it's time to look at what the database classes do. (I’ve uploaded some example code: ZF Test v2 to show that it all really works! Let me know if you find any bugs…) As before, I'm looking to make my life easy when it comes to writing my applications. To understand what's possible, I'm going to play… continue reading.

Zend Framework Views and the Front Controller

Following on from my last post, I've now played with integrating Zend_View into the system. Whilst I was playing, I discovered that Nucleuz has put up a tutorial on wiki.cc. I quite like his approach, but needing to call $this->display(); in every controller's action strikes me as a pain. Another problem is that you can forward from one action to another, and so the view needs to follow with you. The approach in this entry… continue reading.

Zend Framework Front Controller

Zend have finally released a preview of their new framework at http://framework.zend.com/. I've started having a play and their implementation of a Front Controller is quite similar to what I've been playing with. This isn't a total suprise as there aren't that many ways to do a Front Controller :) The documentation on the Zend/Controller directory is completely non existant, so I've worked out the basics by reading the source. Fortunately, the source isn't too… continue reading.

PHP UK Conference 2006 in Detail

I wrote this post to the PHP West Midlands mailing list, so thought I'd put it here too: Iain asked, so here it is! It was a one day event for £50 on the early bird thing and £75 if you ordered later. I stayed at a hotel around the corner for £35 inc breakfast. I drove down and parked at Perivale tube station and used the Underground from there. Total cost for the entire… continue reading.

PHP UK Conference 2006

Just got back from the conference and thought it was excellent. The social last night was good too – makes me wish I lived in London! It was a one day event for £50 on the early bird thing and £75 if you ordered later. I stayed at a B&B around the corner for £35 inc breakfast. I drove down and parked at Perivale tube station and used the Underground from there. Total cost for… continue reading.

WordPress 2.0 Rewrite Rules

We recently upgraded my wife's blog from WordPress 1.5 to 2.0 and it broke the mod_rewrite rules used to support the legacy Movable Type urls. When she migrated from Movable Type to WordPress, we moved to /{year}/{month}/{day}/{slug} type urls from the default Movable Type rule of /archives/{id}.html. We read the manual at the time and put the following into the .htaccess file: RewriteRule archives/0*(d+).html /index.php?p=$1 RewriteRule index.rdf /index.php?feed=rdf RewriteRule index.rss /index.php?feed=rss RewriteRule index.xml /index.php?feed=rss2 and… continue reading.

Dynamic JavaScript Tabs v1.0.3

Simon Hamilton contacted me about adding ids to each tab, so I did! I've also fixed the CSS error that Adam noticed and correctly updated the version number in the license block! Update: I've created a separate page to hold the download link

Dynamic JavaScript Tabs v1.0.2

I received a patch from Imobach González Sosa to allow the Dynamic JavaScript Tabs code to support more than one tab container set on a single page. I've applied the patch and this is version 1.0.2! Thanks Imobach! Update: I've created a separate page to hold the download link