News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Proper Layer files when using Dojo with Zend Framework
September 08, 2008 @ 07:54:52

Matthew Weier O'Phinney has another post full of Dojo/Zend Framework goodness today - this time he looks at making proper layer files by combining the two.

During my Dojo and ZF webinar on Wednesday, Pete Higgins of Dojo fame noted that I could do something different and better on one of my slides. This particular item had to do with how I was consuming custom Dojo build layers within my code. I contacted him afterwards to find out what he suggested, and did a little playing of my own, and discovered some more Dojo and javascript beauty in the process.

The improvement replaced the need for a manual commenting/uncommenting of an addLayer call with a bit of namespaced layers that, based on the environment, adds a dependency for the right file. One less manual process, one less thing to go wrong on deployment.

0 comments voice your opinion now!
dojo zendframework layer file environment improvement


blog comments powered by Disqus

Similar Posts

SmartyCode.com: Enable your Zend Framework App with Conditional GET! (Make it green)

Padraic Brady's Blog: Zend_Service_Openid Is dead; But It's Reincarnation Is Coming

Master Zend Framework: Create a Simple File Upload Form in Zend Framework 2

Giorgio Sironi's Blog: Php login with Zend_Auth

Gabi Solomon's Blog: Using Zend Framework Language Component


Community Events

Don't see your event here?
Let us know!


example testing composer version performance application release library api php7 podcast framework interview series community voicesoftheelephpant opinion symfony2 introduction laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework