Revamping the bootstrapping process

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Revamping the bootstrapping process

EvanDotPro
Hi all,

I'm working on cleaning up the bootstrap process with regards to the
service manager and standard MVC configuration.

The goals of my changes are:

* Allow for a massively simplified index.php (one liner once
autoloading is set up). [done]
* Allow modules to override the default services, which previously
could only be overridden from application.config.php [done -- mostly]
* Fix EventManagerAwareInterface so that it does not force injection
of a new event manager if one already exists. [done]
* Allow modules to be able to provide initializers to the ServiceManager. [todo]

It's a work in progress, but you can take a look at what I've got so
far here: https://github.com/zendframework/zf2/pull/1495

---
Evan Coury, ZCE
http://blog.evan.pro/