Rovak / KJSencha

Ext-JS / Sencha Touch Integration Module for Zend Framework 2
Other
24 stars 15 forks source link

Cleanup IOC by removing unused setters/getters and reducing coupling between the various components and the ServiceLocator #6

Closed Ocramius closed 12 years ago

Ocramius commented 12 years ago

It is currently possible to create instances of the various components and have them in an inconsistent state since setter injection is used. Also, some service IDs are hardcoded in objects implementing ServiceLocatorAwareInterface, making override of factories very tricky.