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

Zend Developer Zone:
Zend_Tool for the Developer
Jan 15, 2009 @ 16:21:35

Ralph Schindler has a recent tutorial posted to the Zend Developer Zone site looking at how you can extend the Zend_Tool component of the Zend Framework to meet your needs.

In order to understand how to extend Zend_Tool, you need to know a few things about its overall structure. The whole of the system was built with extensibility in mind. Each of the major functional parts of the system are abstracted in such a way that its easy to not only extend, but to replace with completely separate implementations. [...] But for our first order of business, we'll demonstrate how to add new commands to the Zend_Tool system.

He dives into the details of the Zend_Tool internals (including the Manifest component, the Provider_Version and the Provider_interface) before getting into the example code of the actual extension. He makes the typical "Hello World" example and shows how, with a simple command line call, you can execute the provider.

tagged: zendtool zendframework component extend tutorial

Link:


Trending Topics: