[fw-general] ZF2: Quickstart data mapper

2012-08-13 Thread Ralf Eggert
Hi, in the quick start for the ZF1 a model, a mapper and a database table object were used. There was a clear separation between these three. In the quick start for the ZF2 only a model and a database table object is used. It seems to me that the database table object took over the job from the

Re: [fw-general] ZF2 display errors

2012-08-13 Thread Ralf Eggert
Hi, Marco Pivetta schrieb am 13.08.2012 11:37: ZF2 doesn't modify the environment anymore. You'd probably want to handle this somewhere early in your bootstrap process... Ok, so will \Application\Module::onBootstrap() be the right place for application wide settings and

Re: [fw-general] ZF2 display errors

2012-08-13 Thread Marco Pivetta
I think so. If you don't need to make such decisions based on config, you can do it early in a module implementing the init method ( https://github.com/zendframework/zf2/blob/master/library/Zend/ModuleManager/Feature/InitProviderInterface.php) Marco Pivetta http://twitter.com/Ocramius