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:
Quick Start to Zend_Application_Bootstrap
January 12, 2010 @ 09:20:59

Matthew Weier O'Phinney has a recent post to his blog giving a quick introduction to the Zend_Application component of the Zend Framework and how it can be used to create custom resources.

Zend_Application works in conjunction with Zend_Application_Bootstrap, which, as you might guess from its name, is what really does the bulk of the work for bootstrapping your application. It allows you to utilize plugin bootstrap resources, or define local bootstrap resources as class methods. [...] Additionally, Zend_Application_Bootstrap provides for dependency tracking (i.e., if one resource depends on another, you can ensure that that other resource will be executed first), and acts as a repository for initialized resources.

Matthew gets right into the code, looking at how to create a simple bootstrap (for the "zf" command line tool to make the project) and the contents of the application.ini file. From there he looks at creating resources - bits of code that can be executed as a part of your bootstrapping process. His example shows the implementation of "_initCurrency" and "_initRegistry" methods.

0 comments voice your opinion now!
zendapplication bootstrap quickstart resource


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: Zend_Application and Zend_Acl

SitePoint PHP Blog: Building a Web App With Symfony 2: Bootstrapping

Gonzalo Ayuso: Releasing unmanaged resources (a PHP port from C#’s “using” statement)

PHPMaster.com: Practical Code Refactoring, Part 4 - Efficiency

Hasin Hayder's Blog: FeedPHP is going to be the largest PHP News Source


Community Events





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


library interview composer tool introduction symfony opinion release series update voicesoftheelephpant community security version framework package podcast language laravel mvc

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