Zend Framework Controller Docs!
In case you missed it, 0.1.2 is out with documentation for the controller! As I'm at work, I don't have a have a lot of time, but here's the highlights:
Pragmatism in the real world
In case you missed it, 0.1.2 is out with documentation for the controller! As I'm at work, I don't have a have a lot of time, but here's the highlights:
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. (Ive 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.
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 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.
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.
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.
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.
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
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
I've recently been working through the PHP|Architect's Guide to PHP Design Patterns and have decided to build my own version of an active record along the lines of the one in Ruby on Rails. It's turning into an interesting experience as I'm doing using Test Driven Development methodology. This is proving very useful as I don't really have a clue where I'm going with the design, and so having a series of tests for each… continue reading.