Pragmatism in the real world

Zend Framework Book coming soon

Now that it's been announced by Manning, I think I can talk a little more about the project that's been taking up most of my spare time! Zend Framework in Action is a collaboration between myself and Nick Lo. We are still writing, but Chapter 1 is available for you to download and see where we are heading with the book. Manning has an early access program where you can get access to pre-production PDFs… continue reading.

Image Resizing Done Right

This is getting a lot of blog-sphere time at the moment. What an excellent idea! (Via The Guardian, who found it on TechCrunch)

ID != id

I've finally updated the source code to my Zend Framework tutorial so that the hidden field in the form is named "id" rather than "ID". A minor error that meant that editing didn't work! This is because in PHP $_POST['id'] is not the same as $_POST['ID']! Whilst I was poking around the source code, I also changed the Zend Auth tutorial to use $db rather than $dbAdapter so that it is consistent with the first… continue reading.

PHPWM Social

I've just come back from the PHPWM social for this month. We meet monthly and alternate between social and technical meets. This month, we met at the Hopwood House pub in Alvechurch, south of Birmingham. We talked geek for a few hours and I highly recommend joining your local PHP user group as it's a great way to meet people who don't look askance at you when you mention MVC!

Zend Framework Tutorial Zip File Updated

I've finally got around to updating the Zip file on the tutorial page! This time, I've created two files: one with the Zend Framework (1.0.1) included and one without. The one without is much smaller at only 9KB, where as with the Framework, the zip is 2.2MB. The links are: Zip file of tutorial (~9KB) Zip file of tutorial including ZF1.0.1 (~2.2MB) I've also updated the tutorial itself to 1.4.4. This is a really minor… continue reading.

YSlow!

I've been playing recently with YSlow! from Yahoo! and it's quite cool. It's a plug-in for Firefox that works in combination with Firebug that gives you pointers as to why your site isn't as fast as it could be. I noticed that one site that I'm developing at the moment was rated C, so thought I'd see what I could do easily to improve it. These are the items that I sorted out. Configure ETags… continue reading.

OT: A Bit Wet

An off topic post for this blog, but I thought I should mention that it was a bit wet yesterday and it took me 4 hours to do my usual 30 min commute from work back to home! A couple of pictures show it better: Just after I'd left work: Joining the M50: I got home easily enough – mainly it was a case of taking it easy which wasn't difficult as the traffic was… continue reading.

Russian and Polish Zend Framework Tutorial

A couple of new translations of my Zend Framework tutorial have crossed my desk in the last week. Kubek Bartosz has very kindly created a new up to date Polish version of my Zend Framework tutorial. Alex Musayev has created a Russian translation too. I say this a lot, but I really am still amazed that people think that my little tutorial is worth the effort of translating. Thank you very much guys. I'm sure… continue reading.

Two-Step view in Zend Framework 1.0.0

Paulo Nei wrote an email to fw-general which is, I suspect a very common issue that people are going to run into: Hi, I wanna put header & footer in all view templates. But with ZF I don't got an easy way to do it … At the moment, the Zend Framework doesn't have an "officially blessed" solution, so there are multiple approaches being used: 1. Front Controller plug-in. http://www.nabble.com/Controller-and-View-Question-tf3462561.html 2. Zend_Layout proposal. http://framework.zend.com/wiki/display/ZFPROP/Zend_Layout 3.… continue reading.

Zend Framework 1.0 Released

No doubt everyone who reads this blog already knows that Zend Framework 1.0 has been released. My code contribution isn't very large, but I am nevertheless very happy that Zend_Config "just works" for loading and reading configuration data. The MVC system within Zend Framework has come on by leaps and bounds since the first public release and is now flexible, robust and easy to use. One part of the MVC jigsaw that is missing is… continue reading.