News Feed
Sections




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

PHPImpact Blog:
Zend Framework Automatic Dependency Tracking
February 04, 2009 @ 10:20:34

This recent post to the PHP::Impact blog looks at a way you, the Zend Framework user can check to see which files are dependencies in your application. Their example uses the Zend_Debug_include component to find out during run-time which of the libraries/components your script might need.

The concept behind Zend_Debug_Include is that the dependencies for each source file are stored in a separate file. If the source file is modified, the file containing that source file's dependencies is rebuilt. This concept enables you to determine run-time dependencies of files using arbitrary components. This solution is also useful if you are deploying your application using Linux packages.

He has it broken up into a few different kinds of tracking examples - file dependencies, package dependencies and external dependencies. There's also a tip for the URL adapter showing how to make a different file for each request that comes through.

0 comments voice your opinion now!
dependency tracking zendframework automatic zenddebugincludes component


blog comments powered by Disqus

Similar Posts

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

Alexander Netkachev's Blog: Syndicate content with Zend Framework Zend_Feed classes

Zend Developer Zone: Deleting indexes from Zend_Registry and why you shouldn't do it !

ZendCasts.com: Unit Testing Zend_Form

Symfony Blog: Form Goodness in Symfony 2.1


Community Events





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


symfony configure interview composer voicesoftheelephpant release list opinion introduction framework conference unittest language podcast threedevsandamaybe series version api laravel community

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