To implement a central storage for objects often used throughout the application, is typically implemented using an abstract class with only static methods (or using the Singleton pattern)
- Zend Framework:
Zend_Registryholds the application's logger object, front controller etc. - Yii Framework:
CWebApplicationholds all the application components, such asCWebUser,CUrlManager, etc.