e_schrade wrote a neat way of doing things in the service layer; Let’s take a quick look at something that’s kind of neat in Zend Framework. I’ve been doing some work with Adobe on some articles and one of them was on working with mobile clients with Flash. Well, me being the masochist I did […]
Till posted this little snippet; It’s so useful I just had to share it find . \( –name “*.php” –o –name “*.phtml” \) –exec php –l {} \; Just go to your project directory and fire it off, it will help you find those pesky unmatched {}
Bill Karwin posts a useful little snippet that will list and search each class for function names that match except for the underscore prefix, private / protected functions. <?php /** * Find methods that differ only by the underscore prefix. * by Bill Karwin August 2010 * * I release this […]
What I do is I have my controllers fetch all their dependencies from the bootstrap and/or front controller. The most common example is to pull the db resource from the bootstrap: // in controller $db = $this->getInvokeArg(‘bootstrap’)->getResource(‘db’); But I also take it a step further. For example, if I’m using data mappers, I have the […]
Yesterday, the Zend Framework team tagged the first development milestone of Zend Framework 2.0 (2.0.0dev1). It is immediately downloadable from the Zend Framework servers: * Zip package: http://framework.zend.com/releases/ZendFramework-2.0.0dev1/ZendFramework-2.0.0dev1.zip * tar.gz package: http://framework.zend.com/releases/ZendFramework-2.0.0dev1/ZendFramework-2.0.0dev1.tar.gz NOTE! This release is not considered of production quality, and is released solely to provide a development snapshot for purposes of testing and […]
Jon Lebensold posts; In the last video, I discussed ZendX_JQuery integration. Now we’re going to take it a step further by developing our own jQuery autocomplete control, using a country list, PHP 5.3 and anonymous functions. Grab a copy of the project or browse the repository. via Zendcasts.
Jon Lebensold posts; I’ve received a lot of feedback about jQuery integration in the Zend Framework. This little video will show you how you can quickly integrate jQuery and jQuery UI into your Zend Framework project. Grab a copy of the project or browse the repository. via Zendcasts.
The good old Zend Framework manual pages do suffer from being somewhat lengthy. I’ve thought they could do with an index to make navigation easier on those oh-so-long pages. So I wrote a quick JavaScript bookmarklet to do just that. via simon r jones.
Rob Allen writes; After too many months of neglect, I have completely rewritten my Zend_Auth tutorial so that it is compatible with Zend Framework 1.10! As an experiment, I have written it directly in HTML, rather than PDF as before and cover the login form along with the login controller code required to authenticate a user […]
To achieve complete Doctrine 1 integration with Zend Framework some glue is required, Benjamin Eberlei has created a complete solution thats straight forward, easy to use and understand. This project tries to offer a complete Integration of Doctrine 1 with Zend Framework. The following components belong to this Integration: Zend_Application Resource Zend Framework Modular Project […]
Jon Lebensold post another screencast; This video outlines a little trick I’ve found immensely helpful in larger applications: managing your css selectively. Luckily, the Zend Framework is built with some great features for handling this case using Zend_View and Zend_Layout. Enjoy! Grab a copy of the project or browse the repository. via Zendcasts.
Jon Lebensold posts a quick video explaining how quickly and easy it is to write designer-friendly HTML emails using Zend_View and Zend_Mail. Grab a copy of the project or browse the repository. via Zendcasts. (Sorry for the late addition of this)
Simon R Jones writes a very helpful article about the stack index (the order you fire plugins) and how to customize it; Zend Framework Controller plugins are a powerful way to inject logic into your controller system at various points, such as before and after an action dispatch. Plugins are run in the order they […]
Jeroen Keppens wrote a very good article about using multiple databases that I defenitely found very useful; A while ago I wrote about a custom application resource for loading multiple DBs. I received a lot of questions and decided it was time for a follow-up on how to use multiple DBs in ZF. One of the […]
In one of Zend Framework mailing lists, people were wondering if this project is live, so answer is yes – we are live and this is active project. Actually we are preparing v1.0.0 which will have the same features set OxyBase has now, but in addition to that we are adding something that in PHP […]