This screencast should help you setup Zend_Tool in your Zend Framework application. Zend_Tool is a command line entry point into your application. Currently, Zend_Tool is used to scaffold (build generic files) the Zend Framework project structure, modules, controllers, database table classes and other tedious processes. The goal of this video is to start looking at how we can generate our own Manifest and Provider classes so that custom command line tools can be integrated into the Zend Framework application.
The advantage of such integration is far reaching: deployable web applications using the Zend Framework can have “installers” and other frameworks, like Doctrine, can easily become first class citizens within the Zend Framework eco-system.
Grab a copy of the project or browse the repository.

Very interesting. Thanks
nice introduction, looks promising
Great tutorial.
The syntax for Zend_Application ini autoloader namespaces is:
autoloadernamespaces[] = “ZC”
The camel-case with Namespaces is what is snagging you.
Also, the Pretendable interface exists so you can use the -p flag with Zend_Tool to perform dummy actions where a global persistent change would have occurred (such as writing data to a database or clearing a cache).
can some one plz upload this video?
i have problem with my ISP and it not showing completely !
Thank you for this video! Time for me to re-try Zend Tool and adopt it.
just a note that I have no problems with people re-uploading my content (it’s under Creative Commons) as long as there’s attribution back to zendcasts.com
Thanks Brian!
hey jon
can u plz give me a direct link for downloading this video
i cant watch it online
Have you tried “zf create project-provider hello visitor”?
@Jon Lebensold:
First of all, this a clear, easy-to-follow screencast, it has been an enjoyable watch.
Now, in this video you mentioned that “you have not figured out how to properly autoload new namespaces”, right?
I think, you should just register that namespace in your boostrap class file. I see that your bootstrap is actually empty. I usually configure all my setup/initialization methods inside my bootsrap class file.
So, assuming you have implemented such a class, you just need to “register your new namespace” in your initialization method or in your constructor (whatever way you do this process).
something like:
$autoloader->registerNamespace(‘ZC_’);
Right now, I have not yet written an article to illustrate myself cearly, but here are 2 articles which I think might help you:
1) http://framework.zend.com/manual/en/zend.loader.autoloader.html
2) http://lysender.co.cc/2010/03/autoloading-zend-framework-like-classes-in-kohana-v3-enhanced/
Hope I have somehow initiated a small light around it
//K_Wasseem
(7php.com)
Hey K Wasseem,
thanks for the references, what I’d like to do is have the namespaces loaded from config. This doesn’t seem to work with Zend_Tool for some reason. Obviously, I could do it programmatically in the Bootstrap, but this would lead to clutter.
Jon,
I got confused with this autoloading issue and got your expression wrong, I apologize
Right now, I myself do not have an answer as to how to autoload them from the config, ini files.
I usually modularise my calls in very sepcific methods inside my bootstrap class, this helps me minimise any clutter.
If I do get an answer about the config autoload, I will get back to you.
Once again, I was very glad with this zencast of yours, and I even made a post about it.
Thanks,
K Wasseem
Hi Jon,
a bit off-topic, but how did you realize, that your browser looks up http://zc/ at 127.0.0.1?
I looks like your machine automatically knows that there is such a subfolder on your sites place.
This is pretty cool, like the rest of this cast.
Cheers
Patrick
Hi Patrick,
I hacked my /etc/hosts file to point “zc” to 127.0.0.1
then I modified my apache httpd.conf file to accept a NameVirtualServer with hostname “zc” and point it to my document root.
I think the first Zendcast covers this.
Hope that helps!
Jon
Hi Jon, first of all I want to say thank you for your job. This stuff is going to be my bible.
In the begining of this video you suggested to download the minimal Package. But it doesnt have any directory structure, as bin, test eccetera. In other words, better to download the FULL package to follow this video …
Best regards.
Nello