Posted by snek on February 3, 2010
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 [...]
Posted by snek on December 22, 2009
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 [...]
Posted by snek on December 5, 2009
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 [...]
Posted by snek on December 5, 2009
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 [...]