As I work on code using the Zend Framework for a project at work (a stats reporting system for all our forums) I noticed that a lot of static class methods are being used instead of calling them dynamically:
< ?php
$db = Zend_Db::factory(‘pdoMysql’, $params);
Zend::register(‘db’, $db);
$view = new Zend_View();
$view->setScriptPath(‘../app/views’);
Zend::register(‘view’, $view);
$controller = Zend_Controller_Front::getInstance();
?>
So I said to myself “why [...]
Derek and I got our submisison in today for a component for the Zend Framework called (oddly enough) Zend_Service_Audioscrobbler.? As the name states, it’s intended to allow people to access Audioscrobbler’s REST service.
For those who don’t know, Last.fm is powered by Audioscrobbler’s stuff and the Zend Framework handles REST sevices very easily.? It’s in the [...]
I was thrilled to find out on Friday that the php|works conference had accepted my proposal to give a talk on “What PHP Can Learn From Rails.” The conference runs from September 13th to September 15th of this year in Toronto, at the Holiday Inn Yorkdale (which is across the street from the largest [...]
One of the choices that have to be made when you become a parent is the choice to set aside the ridiculous amounts of time you used to spend on your hobbies and instead, you know, be a responsible parent and play with your kids. My oldest daughter is almost 7 and is starting [...]
I first ran across Philip Greenspun when I found out that AOL had it’s own web server (AOLServer) that ran on TCL. Talk about different. He is also a great writer and I came across a new book he is writing (and the chapters are appearing online) called SQL for Web Nerds
If [...]
Recent Comments