You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to drop those abstract factories in favor of using the related PluginManagers directly.
Since #93 introduces external packages, it will get more and more difficult to attach plugins/storage adapters to the PluginManagers, if not retrieved by the projects ContainerInterface.
Imho, each external package should provide their own factories for their plugins/storage adapters and just inject these to the related PluginManager (e.g. by using delegators? Some feedback would be great).
The original idea of @marc-mabe was to use the Module object to add aliases and factories to the PluginManager but as of zend-config-aggregator or in projects without zend-mvc, this wont work anymore.
I would appreciate to get some feedback on this. @weierophinney
I'll mark these factories as deprecated in v3 and remove them in v4 as of #49 and #50
In case of #49, there is a new factory which provides new service to create storage adapters in a convenient way.
Hey there,
I would like to drop those abstract factories in favor of using the related
PluginManager
s directly.Since #93 introduces external packages, it will get more and more difficult to attach plugins/storage adapters to the PluginManagers, if not retrieved by the projects
ContainerInterface
.Imho, each external package should provide their own factories for their plugins/storage adapters and just inject these to the related
PluginManager
(e.g. by using delegators? Some feedback would be great).The original idea of @marc-mabe was to use the
Module
object to add aliases and factories to thePluginManager
but as ofzend-config-aggregator
or in projects withoutzend-mvc
, this wont work anymore.I would appreciate to get some feedback on this.
@weierophinney
Originally posted by @boesing at zendframework/zend-cache#175
The text was updated successfully, but these errors were encountered: