Pragmatism in the real world

ZF2 no longer requires a CLA to contribute

In #zf2 news, effective immediately, we no longer require a CLA for #zf2 contributions. Let the pull requests flow! – @weierophinney Matthew Weir O'Phinney has announced that contributors to Zend Framework 2 do not need to have signed Zend's Contributor License Agreement from now on. Zend Framework 2 is developed using git and there's a mirror on github, this means that contribution to ZF2 is now just a pull request away!

Updated tutorial for Zend Framework 2 beta 1

With the announcement of Zend Framework beta 1, I have updated my venerable tutorial to work with it! Getting started with Zend Framework 2 (beta1), creates the same application as my ZF1 tutorial, so it should be very familiar, but this time, it's in the context of Zend Framework 2. As usual, it's a PDF too. Please download it, try it out and let me know if you find any typos!

Bring a laptop to my ZF2 tutorial at PHPNW11

If you are attending my ZF2 tutorial at the PHPNW11 conference on Friday, I thought I'd remind you that you may find it useful to bring a laptop. Ideally, your laptop should be set up with PHP 5.3 and MySQL and a working copy of my ZF1 tutorial. It would be a good idea to have a vhost set up on http://zf2tutorial.localhost or similar. Ability to create additional vhosts may come in handy. The PHP… continue reading.

Remi Woler: The 10 rules to get support through IRC

Remi Woler has posted a useful article on getting support via IRC. Zend Framework has the #zftalk irc channel and I strongly recommend going through his points. I especially liked point 4: Ask a complete question, directed to anyone willing to answer (that is: don't direct it to any person or group in particular). If someone knows and has time, they will respond. Why rule out people in advance, without even telling what your question… continue reading.

Day Camp 4 Developers #3: Project Management

I'm delighted to be able to announce that I'm speaking at the next Day Camp 4 Developers on 1st October. Day Camp 4 Developers is a one-day online conference run by our friend Cal Evans and is now onto its 3rd outing. An online conference is one that you attend in your own home (or office!) which keeps the costs down considerably, so you have no excuse not to buy a ticket: just $40! Day… continue reading.

Bradley Holt: The Case For Rapid Release Cycles

Bradley Holt has posted an interesting article on why rapid release cycles are a good idea for Zend Framework major versions. For a framework (and maybe for other software), I think the following rules are necessary in order for a rapid release cycle to work: Minimize backwards compatibility changes between major releases. Targeted and strategic refactoring, rather than major overhauls, are preferable if you are releasing often. Small backwards compatibility changes makes migrating from one… continue reading.

Setting up PHP & MySQL on OS X 10.7 Lion

With OS X 10.7, Apple continues to ship PHP 5.3 with PEAR, GD and PDO_MYSQL out of the box. This is how to set it up from a clean install of 10.7. /usr/local Ensure that the following directories exist: sudo mkdir /usr/local/include sudo mkdir /usr/local/bin sudo mkdir /usr/local/lib sudo mkdir -p /usr/local/man/man1 MySQL Download the 64bit DMG version of MySQL 5.1.x (or 5.5.x) for OS X 10.6 from mysql.com and install the pkg, the startup… continue reading.

Robert Basic: Grouping Zend Framework controllers in subdirectories

A few months ago, Robert Basic wrote about this handy organisational tip: Thanks to a discussion on the Zend Framework mailing list I learned about a new feature, a feature that allows for grouping action controllers in subdirectories! He then goes on to explain how he can now group controllers related to admin within a subdirectory of controllers which makes organisation easier: Best part is that this feature requires no additional configuration. Create a subdirectory… continue reading.

Zend_Config_Ini and a string

One thing that is different between Zend_Config_Xml and Zend_Config_Ini is that with Zend_Config_Xml you can pass in an XML string as the first parameter of the constructor and it will work. This doesn't work with Zend_Config_Ini as we use parse_ini_file() under the hood. With PHP 5.3 however there is is a new function called parse_ini_string() which will allow us to load arbitrary ini string into Zend_Config objects. This can't go into Zend Framework 1 though… continue reading.

tek11 photos

Following on from the previous post, these are some of my favourites from php|tek 11. On the day before tek started, playing mini-golf with Helgi, Ian,Kathy, Rafael & Lorna was fun It wouldn't be a trip to Chicago without pizza! I loved Liz's hat Lig had a two-hands-one-mouth problem… The social events at tek are great. You can usually find Liz enjoying the party! It was always fun to see groups showing off some cool… continue reading.