PHP in Action Rotating Header Image

Posts under ‘Frameworks’

The one-line web framework

The core of your average web framework is a Front Controller. Front Controllers are commonly considered complex and esoteric. That’s a myth. I sometimes brag that I can construct a Front Controller in 15 minutes. Actually, it’s doesn’t take quite that long. In PHP, a Front Controller can be simplified to just one [...]

Zend_Test

I admit I don’t follow Zend Framework very closely, since I haven’t been using it for any serious work. But I did write a piece about testing a Zend Framework action controller with View Helpers.
This might need updating, since the testing capabilities of the Zend Framework have grown substantially since then. In [...]

Testing a Zend Framework action controller with View Helpers

I came across a Zend Framework (ZF) example I wanted to refactor. You really have to have unit test coverage to refactor effectively, and since there were no tests, I started trying to find out how to test it. There didn’t seem to be a wealth of information available on the web, so I’ve [...]