Author Archives: ekeretex

Zend_Db_Table dynamic finders

The recently added Zend_Navigation component uses dynamic finders to find pages e.g. findOneByLabel(‘Home’) to return the first matching page with label Home (and that’s straight from the manual). It would be nice if Zend_Db_Table could do this too but it … Continue reading

Posted in Zend Framework | 3 Comments

Zend Framework deployment with Capistrano

After playing around with Phing for a while I decided to bring the simplicity of Capistrano – which I have been using with my Rails apps – to our Zend Framework project at work. Surprisingly it wasn’t hard at all. … Continue reading

Posted in Zend Framework | Leave a comment

Zend Framework and the cost of flexibility

I have had to downgrade my copy of the Zend Framework to 1.7.8 after 5 mins of ‘upgrading’ to 1.8.0 to get access to all the promised goodies (Zend Tool, Zend Application, Zend Navigation, etc). Unfortunately, Zend_Loader::registerAutoload has been deprecated … Continue reading

Posted in Zend Framework | 2 Comments

Rails makes you think you can

I spent a couple of hours last weekend going over a Rails app I wrote almost two years ago. It was the very first Rails application I had written (apart from the follow-the-screencast throwaway ones) and I couldn’t help cringing … Continue reading

Posted in Rails | 3 Comments

Finally… passenger for nginx

I just spent last weekend setting up a new slice at SliceHost (my bestest host ever) for a couple of Rails apps only to read this post announcing the release of Phusion Passenger for Nginx. Considering I only needed the … Continue reading

Posted in Rails | 1 Comment

Jazz up your phpunit test results

I use RedGreen when working on rails projects and have gotten used to the visual feedback I get when tests pass or fail. It has definitely helped with my Red-Green-Refactor flow. I just found out phpunit supports colors in tests … Continue reading

Posted in PHP | Leave a comment

Jara Base – a base Zend Framework app

I recently had to set up a Zend Framework project at a friend’s house and realized how reliant I am on Zend Studio to set up a fresh project. Meet Jara Base – the ZF starter app and my solution … Continue reading

Posted in Zend Framework | 3 Comments

Zend Framework titbits

There are a couple of Zend Framework snippets and how-tos I find myself googling over and over again. I have decided to maintain this list and keep adding to it as I go along. Bypassing Zend_Db prepared statements:For complex queries, … Continue reading

Posted in Zend Framework | Leave a comment