Posts Tagged ‘php

Major update January 22/10: much of the content of this article has been updated to reflect the changes to the datasource, the latest version of which you can download on Github. Just out of the oven – a Zend_Search_Lucene datasource for CakePHP (built with 1.2 but probably works just fine in 1.3) that I originally [...]

Just a quick bit of advice to those who may have been banging their heads against the walls when trying to pass “form” as a custom parameter in a CakePHP URL. Apparently ‘form’ is a param – an array, to be specific – that’s already set by Cake and using it as a custom parameter [...]

In one of my side projects, which I’m currently refactoring to use CakePHP, I needed to have certain dynamic (i.e. database-retrieved) elements on every page: the three latest entries from the articles section, certain user details, etc. I could add a whole lot of models to the $uses array of my individual models or AppModel, [...]

The Zend Framework is one of the best things to happen to PHP since the introduction of objects. But one area that’s always bugged me has been Zend_Loader, specifically its autoloader. For a framework with an extremely rigid class naming structure, you’d think the autoloader would be light and intuitive. Yet it’s a lot more [...]


top