Creating Zend_Tool Providers
When I was at Symfony Live this past February, I assisted Stefan Koopmanschap in a full-day workshop on integrating Zend Framework in Symfony applications. During that workshop, Stefan demonstrated creating Symfony "tasks". These are classes that tie in to the Symfony command-line tooling -- basically allowing you to tie in to the CLI tool in order to create cronjobs, migration scripts, etc.
Of course, Zend Framework has an analogue to Symfony tasks in the Zend_Tool component's "providers". In this post, I'll demonstrate how you can create a simple provider that will return the most recent entry from an RSS or Atom feed.
Continue reading "Creating Zend_Tool Providers"
State of Zend Framework 2.0
The past few months have kept myself and my team quite busy, as we've turned our attentions from maintenance of the Zend Framework 1.X series to Zend Framework 2.0. I've been fielding questions regularly about ZF2 lately, and felt it was time to talk about the roadmap for ZF2, what we've done so far, and how the community can help.
Continue reading "State of Zend Framework 2.0"
Writing Gearman Workers in PHP
I've been hearing about and reading about Gearman for a couple years now, but, due to the nature of my work, it's never really been something I needed to investigate; when you're writing backend code, scalability is something you leave to the end-users, right?
Wrong! But perhaps an explanation is in order.
Continue reading "Writing Gearman Workers in PHP"
PHP Invades Amsterdam; or, the Dutch PHP Conference
For the third year running, I'm pleased to be speaking at the Dutch PHP Conference, held again in Amsterdam this coming 10-12 of June.
Continue reading "PHP Invades Amsterdam; or, the Dutch PHP Conference"
Please Join Me At TEK-X
I'll be speaking this year at TEK-X, this year's incarnation of the php|tek conference, in Chicago in May.
Continue reading "Please Join Me At TEK-X"
A Primer for PHP 5.3's New Language Features
For the past month, I've been immersed in PHP 5.3 as I and my team have started work on Zend Framework 2.0. PHP 5.3 offers a slew of new language features, many of which were developed to assist framework and library developers. Most of the time, these features are straight-forward, and you can simply use them; in other cases, however, we've run into behaviors that were unexpected. This post will detail several of these, so you either don't run into the same issues -- or can capitalize on some of our discoveries.
Continue reading "A Primer for PHP 5.3's New Language Features"
GPG-signing Git Commits
We're working on migrating Zend Framework to Git. One issue we're trying to deal with is enforcing that commits come from CLA signees.
One possibility presented to us was the possibility of utilizing GPG signing of commit messages. Unfortunately, I was able to find little to no information on the 'net about how this might be done, so I started to experiment with some solutions.
The approach I chose utilizes git hooks, specifically the commit-msg hook client-side, and the pre-receive hook server-side.
Continue reading "GPG-signing Git Commits"
A Simple Resource Injector for ZF Action Controllers
Brandon Savage approached me with an interesting issue regarding ZF bootstrap resources, and accessing them in your action controllers. Basically, he'd like to see any resource initialized by the bootstrap immediately available as simply a public member of his action controller.
So, for instance, if you were using the "DB" resource in your application, your controller could access it via $this->db.
Continue reading "A Simple Resource Injector for ZF Action Controllers"


