Pragmatism in the real world

Zend PHP 5 Certification Guide Competition

I'm still in shock that I've won! I never expected to be in a position where I could afford to get Zend Certification. I'm gonna have to read the book very carefully though as I have no intention of failing!

Polish Translation of the Zend Framework Tutorial

I'm extremely pleased to announce that there is now a Polish translation of my Zend Framework Tutorial. The PHP.pl team did the hard work and I'm very grateful to them. Thanks guys! They are hosting it on their site, so head on over to: Pierwsze kroki z Zend Framework

Zend_Config Documentation in 0.2

Note that the documentation for Zend_Config is wrong in version 0.2 of the Zend Framework, as awormus has found out! Key things to know: Instantiation $config = new Zend_Config_Ini('file.ini', 'section'); Zend_Config_Array has been removed It's no longer necessary as you can do: require 'config.php'; $config = new Zend_Config($config); Inheritence in Zend_Config_Ini has changed Was: [proof] extends = common Now: [proof : common] We'll get the docs sorted soon, sorry! Update:The wiki version of the manual… continue reading.

Zend Framework Tutorial: Version 1.1

It turns out that there are hardly any changes required to make the tutorial code compatible with version 0.2 of the Zend Framework! The only changes I had to make were to the index.php file. The two changes needed were: Zend_Config construction You now create a Zend_Config_Ini directly: $config = new Zend_Config_Ini('./application/config.ini', 'general'); is all that's needed now! Front Controller instantiation For the original tutorial, I needed a special route for compatibility. This is now… continue reading.

Zend Framework 0.2

Version 0.2 of the Zend Framework has been released. I'll be updating my tutorial shortly – as soon as I have some spare time!

Zend_Config: Multiple Sections and a BC Break for 0.2!

It is now possible to load multiple sections into a Zend_Config :) The inheritence mechanism in the INI files has also changed to remove it from the data space and into the section name space. As a bonus, whilst doing them, I managed to remove a lot of rendundant code from Zend_Config_Ini and so it's now much easier to understand how it works. To load multiple sections just pass in an array to the $section… continue reading.

Zend_Config: Progress Towards 0.2

A week or so ago, I got a chance to sit down (on IM) with Darby and look at the outstanding issues for Zend_Config. We went through the all open issues and the items on the wiki page to ensure we knew what was intended for 0.2. As a result, I filed a few issues with the issue tracker to enhance Zend_Config and note possible bugs. Essentially, the enhancements are: ZF-352. Change the way INI… continue reading.

German Translation of my Zend Framework Tutorial

I'm extremely pleased to announce that there is now a German translation of my Zend Framework Tutorial. I'm still gob-smacked that someone thinks that it's good enough to be worth translating and am very grateful to Daniel Messer for doing it! He intends to host the German version himself when he has his web site organised, so that will be the place to find the latest version and to comment on issues specific to the… continue reading.

Directory Structures (again!)

Last night, the West Midlands PHP User Group met at The Swan pub in Worcester for some food and a chat. One of the discussions we started, but didn't finish was on directory structures and I thought I'd write down my current thoughts. The Top Level I like to keep everything within a project root directory and the top level directories are quite easy to define: project-dir/ app/ lib/ tmp/ scripts/ www/ Let's consider these… continue reading.