Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
Is there somebody who can globaly describe this class, just in short terms, and how to use it...
I mean why do we actually need this new class(why cant use new Zend 1.8 in old fashion), and how we use Zend_Config or Zend_Registry with it etc.
Probably following in the footsteps of existing proven frameworks, like most Window'ing frameworks (MFC, OWL, wxWidgets, Qt) all have an application class that is usually a singleton and represents the instance of an application, frequently containing things like registries, startMain() which does generic bootstrapping, etc.
//code is from old bootstrap file (not Bootstrap class)
$config = new Zend_Config_Ini('...');
$registry = Zend_Registry::getInstance();
$registry->set('config',$config);
PCSpectra wrote:I don't use Zend_Application myself...but I have very generic registry initialization done in the bootstrap. Initialzing sessions, etc.
You might want to take a peak into Digitalus CMS which is built using Zend Framework...maybe worth a peak.
The guy who made Digitalus wrote a book that comes out real soon wherein he basically teaches you how to build a CMS using ZF.