PHP, Zend Framework and Other Crazy Stuff
Archive for June, 2006
Who fancies a community effort to write a PHP book?
Jun 29th
The PHP Developer’s Network forums were abuzz today after a member’s proposal to write a community PHP book for novice programmers, with sections targeting advanced topics and programmers. The instigator was d11wtq (Chris Corbyn), who on a side note recently released the excellent Swift Mailer library. It’s a simple proposal – write a book, and release it in some (or many) formats for free.
So why write yet another PHP book? I think the proposal caught such attention because of the method of writing and the motivation for doing so. And admit it, it’s a very intriguing idea
.
It’s a community sourced effort first and foremost. It’s not required that a contributor be a savant with a word processor or the English language. Even expertise with PHP is not strictly a requirement since a medium skilled writer describing a PHP function is likely to be just as accurate as a seasoned expert. As a community driven effort there would be a support structure in place where text would be peer reviewed, discussed, edited and subject to public comment. All friendly and without a contract hanging over your shoulder like a war axe.
Further, it’s not profit motivated or written under the watchful eye of a local friendly publishing house. It will be written, published in various formats, and freely available. Those contributing could be in it for any number of reasons: fame and glory, developing technical writing skills, simple wish to help fellow PHP programmers, being involved in a community effort, and countless other motivations. Simple fact is, there are a lot of folk out there who just plain like helping others and this appeals to them all on some level.
A third broad element is creative freedom. People like to do things their way. It’s a chance to take the standard PHP book approach and maybe push some new ideas. A public project is not going to face the same limitations as a formal published volume. Want to present a chapter in some newfangled way? Then there’s nothing stopping one from trying it out and seeing what the community thinks. It’s a playground, and we all like to play in the sandbox from time to time since it’s just plain fun.
So apart from commenting on why any sane PHP developer would contribute to a free PHP book – would it be worth while? To this I’d answer with a resounding yes. Why not? If people want to do it, have the enthusiasm to pull it off, and think they can give something to the community – then really, why not? If you take another view (for the rational types), what are the alternatives? That may be an interesting question to pose – are there free PHP books out there? Excepting the usual out-of-date goodwill gestures from publishers (not that I don’t appreciate them).
Anyway, I am keenly following the ongoing discussion – it’s a gestating idea but it’s building up momentum. I admit the idea appeals to me. I don’t have the time or resources to write a whole book by my lonely self – but a community effort is something I can jump onboard with. I guess I’m in the creative camp – I just like writing and this is another attractive forum. As a bonus, I could get to work with a lot of folk whose professionalism and opinion I’ve grown to respect after almost a year of being a regular Devnetwork member.
IBM DevevloperWorks: Understanding the Zend Framework
Jun 27th
For those wishing for a decent introduction to the Zend Framework, IBM developerWorks has posted the first of a series of such articles. It looks like it will eventually form a highly detailed look at using and working with the framework – possibly the best consolidated introduction yet?
Part 1 is a general introduction to the Framework, its components and basic usage. More in-depth topics are to follow. Looks like a good read.
Apachecon Europe 2006: Dublin, Ireland
Jun 27th
Since everyone over here is getting worked up, I thought I’d mention someone had a bright idea and decided to hold Apachecon Europe 2006 here in Dublin, Ireland. It starts tomorrow, in fact. Unfortunately I am unable to attend since I will be at that stage be far far away on vacation until next Monday.
Anyway, stop pitying me! For those interested there will be numerous talks and tutorial sessions on PHP from the likes of Chris Shiflett, Andrei Zmievski, Christian Wenz and Laura Thomson. Also present will of course be Rasmus Lerdorf. The range of topics being covered are very interesting, and there better be slides released afterwords or I’ll going to door to door for attendee notes!
Two interesting talks will be “PHP meets WS-*” hosted by Nabeel Yoosuf and Damitha Kumarage. I haven’t paid much attention to the WS standards so an introduction would be very helpful. We also have a talk on “PHP 6 & Unicode” by Andrei which I assume will confirm my name will finally be correctly handled by PHP applications
. That á character gets almost all the current crop! Seriously though, Unicode support in PHP 6 will be a great improvement for we civilised people not yet resigned to ASCII. John Coggleshall is also holding a talk on the Zend Framework – something not to be missed if you’ve not yet had a chance to review the framework preview yet.
Outside my immediate interests, there are two PHP security talks. One on XSS by Chris, and another on Web Application Security by Christian. Interestingly, Chris Shiflett is doing a talk on “Agile PHP Testing” which I assume will revolve around his PHP port of Perl’s Test::More which outputs TAP for use with Apache-Test. This is a topic being covered over the last year or so by a few people, often in isolation.
Outside the PHP arena, there are some very attractive talks such as “Subversion Best Practices”, “Beyond Unit Testing” and “Getting Started with FOP”.
After writing this I wish I could attend, I haven’t attended a conference in two years and I really love the atmosphere and density of information you can pick up at them. Hmmm, Apachecon or a vacation to a warm place with real sunlight… There better be slides. ![]()
For those attending, I hope they enjoy their stay. Unfortunately they all missed Ireland summer season, and it is now cloudy with spotty rain. Of course it’s that way most of the time, so don’t let it alarm you. At least it’s not snowing just yet…
Test Results
Jun 23rd
We are very close to having the Settings classes finished for Partholan. Our tests show the work to date is looking good…![]()

Says it all really…
Couldn’t help but preen a little…
Jun 23rd
I just noticed that PHPDeveloper.org are reporting my blog entry on the Factory and Abstract Factory patterns. The fixed url is over here: http://www.phpdeveloper.org/news/5657. First time I’ve had a blog post highlighted by a site I read practically every day. Cool.
Edit: Two of my blog posts also receive a mention over on the Zend Developer Zone. ![]()
How I do love the web. The web gives us the illusion of anonymity and the freedom to experiment with our inner demons. One such persona of note to the PHP community is Padraic Brady aka “Maugrim The Reaperâ€. Padraic posts on a variety of topics in his blog but never fails to inform or entertain. Let’s look at two of his recent posts.

