News Feed
Sections




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

Eran Galperin's Blog:
Zend Framework dependency manager
November 03, 2010 @ 09:39:58

In a new post to the techFounder blog today, Eran Galperin shares a tool that he's created to make life outside of the Zend Framework simpler. It's a simple script that, when they're needed, grabs the Zend Framework libraries from the remote SVN and drops them in place.

Reusing Zend Framework based code can be a bit of a pain - you do not want to include the entire framework just for a few classes, yet tracking down the dependencies needed to run your code can be time consuming and it's hard to tell if you aren't missing anything. To overcome those issues, I wrote a utility class to automatically resolve Zend Framework dependencies by fetching them from the online SVN repository when they are needed (and then storing them locally).

You can grab the tool from his Binpress account (under the MIT license). He also gets into some of the details on how the script works - how it uses an autoload to catch all of the class loading, checks for the file locally and if it's not there, grabs the remote. If there's dependencies for that, they're fetched as well. There's also an example of its usage (written out, not code, but you get the idea).

0 comments voice your opinion now!
zendframework dependency manager tool


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: A couple of good Zend Framework articles

Zend Developer Zone: Zend Framework's MVC Introduces the ViewRenderer

Zend Developer Zone: Book Report: A Beginner's Guide to Zend Framework

PHPRiot.com: Zend Framework 101: Zend_Gdata_YouTube

Ahmed Shreef's Blog: Soap Web Services in PHP & hint on consuming from .Net


Community Events

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


interview framework threedevsandamaybe community version unittest symfony library series laravel5 security podcast introduction language voicesoftheelephpant api opinion release extension laravel

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