Rovak / KJSencha

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

Hotfix/#6 ioc cleanup #7

Closed Ocramius closed 12 years ago

Ocramius commented 12 years ago

This PR addresses #6

There's still a lot to clean up, but I basically tried to get anything that in my opinion a service unaware of the ServiceManager itself.

I also enabled usage of the view helper extJs:

$this->extJs()->loadLibrary();

This line attaches the library and CSS files to head script/link view helpers.

Ocramius commented 12 years ago

With 160136f I also introduced cache as always active. Since a memory cache is used at startup, it is not storing anything persistently. The end user can override it.