Tag Archives: Zend

Facebook HipHop PHP

First of all you might be wondering what Facebook, hip-hop and PHP have in common. This is not about 50cent or some other mumbling gangstah writing rhyming PHP on his Facebook page, no no! Facebook has been working on a way to speed up PHP on their thousands of servers and they have come up [...]

Automate Db Model Creation with Zend_CodeGenerator_Php_Class

I just found this post on Joey Rivera’s blog which will make my life a lot easier in the future. It allows for you to generate the php code Zend Framework relies on to access the database. Currently you would have to make a new file for each table (depending on which way you have [...]

Howto: Zend Framework Cron

This was verified to work under Zend Framework 1.9.5 and 1.9.6. First we want to make a new file for the cron somewhere outside the public folder, I chose a folder called scripts. My project thus looks like this: domain.com application library logs public index.php scripts cronjob.php tests The trick with cronjobs is that you [...]

My Zend Framework Test Project

I’ve been experimenting with Zend Framework (ZF) for some time now at home to try and expand my knowledge of PHP and in particular MVC patterns. I must say it took me quite a while to understand how ZF works exactly, but now the rewards are starting to come in! I’ve been building a Google [...]