Quantcast

Followup: ServiceManager as plugin broker/loader

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Followup: ServiceManager as plugin broker/loader

weierophinney
Administrator
As a follow-up to my email earlier this week...

Yesterday during the IRC meeting we voted to take this course of action.
I've gone through and refactored all components (except AMF, which is
completely broken currently) that use the broker+plugin class locator
combination to instead use a context-specific service manager.

The pull request is now posted:

    https://github.com/zendframework/zf2/pull/1550

Net result is ~50% less code, one less API for developers to learn, and
more flexibility in how plugins are created and managed; I consider it a
net win.

I'm still waiting for travis to finish running tests for my most recent
commits, but other than a few flukes with OpenID, the tests have been
green.

Please review and test, so we can get this (hopefully last!) major
refactor in before beta5. (That is, with the exception of the new
components coming in: Escaper, Console, and i18n/L10n.)

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
Loading...