[fw-general] Component Manager

2007-08-02 Thread Felix Jendrusch
Yesterday I started thinking about something like a component manager. My first implementation supports: - Class/File loading on demand (using Zend_Loader) - Configuration in the bootstrap file without loading the classes/files (you can specify arguments that will be passed to the constructor/a s

Re: [fw-general] unclear example of using of zend registry

2007-07-30 Thread Felix Jendrusch
http://framework.zend.com/manual/en/zend.controller.front.html#zend.controller.front.methods.primary (7.3.2.4.): Zend_Controller_Front::run($path) is a static method taking simply a path to a directory containing controllers. It fetches a front controller instance (via getInstance(), registers th

Re: [fw-general] Zend_Config and arrays

2007-07-28 Thread Felix Jendrusch
Jordan Raub wrote: > > Mostly but Zend_Config is read-only > > Jordan Not if you set $allowModifications to true (Zend/Config.php: 138 - 158): /** * Only allow setting of a property if $allowModifications * was set to true on construction. Otherwise, throw an exception. *

Re: [fw-general] Zend_Config and arrays

2007-07-28 Thread Felix Jendrusch
Zend_Db_Table_Abstract already uses a part of this workaround (Zend/Db/Table/Abstract.php: 644-647): } else if (isset($this->_primary[0])) { array_unshift($this->_primary, null); unset($this->_primary[0]); } So you should be able to use: $table = new Zend

[fw-general] Re: Zend_Session_SaveHandler_Db

2007-07-25 Thread Felix Jendrusch
table. Thank you, Jordan Raub He that teaches himself hath a fool for his master. -- Benjamin Franklin Poor is the pupil who does not surpass his master. -- Leonardo da Vinci. -- Felix Jendrusch <[EMAIL PROTECTED]>