zendframework / zend-servicemanager

ServiceManager component from Zend Framework
BSD 3-Clause "New" or "Revised" License
188 stars 89 forks source link

Write new tutorial documentation for moving from ConfigAbstractFactory #149

Open GeeH opened 8 years ago

GeeH commented 8 years ago

It might be a good idea to demonstrate in the documentation a migration path from this abstract factory to an explicit factory. One of the frequent comments I've seen from folks about the deprecation of ServiceLocatorAware is that developers are unaware of how to write factories. Including some explicit steps here will help them when they have the question of, "I need to do something that falls outside the scope of this abstract factory, but I don't know how."

weierophinney commented 8 years ago

@GeeH Question: you mentioned at one point in development of #146 that you might write a tool that would create a factory/factories from ConfigAbstractFactory configuration. Do you still plan that? If so, I think we could defer this until that tool is available.

Also, wondering, because if you are planning that, I'm curious if you think we should delay the 3.2.0 release until it's ready...

renanliberato commented 6 years ago

Is the current doc's page enough to explain the differences between Abstract Factories and Explicit Factories mentioned here and in #148 ? I've seen it currently largely describes Comparisons, Convenience, etc.

If it is enough, I think this issue was already resolved by #150 , so it should be closed.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-servicemanager; a new issue has been opened at https://github.com/laminas/laminas-servicemanager/issues/22.