I have been Reading Cal Evan's Guide to Zend Framework Programming.

In it he describes a Globals.php file for creating a single class to
encapsulate access to global resources like the database connection, cache
connection, config, etc. 

This seems useful, particularly if you use it in conjunction with his
Controller_Request_Cli class for exposing some of your Zend-based
application via command line or cron jobs. 

I was wondering if this is the recommended approach to exposing global
resources or is there a Zend Framework "approved" method?

- Steve W.
-- 
View this message in context: 
http://www.nabble.com/Is-Cal-Evan%27s-Globals.php-a-recommended-approach-tp21379960p21379960.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to