php - Zend 2 callables vs Factories - too many factories? -


i have not found answer question on so far think quite common issue when have big module.php file lot of callables instantiate services. refactor such module.php service manager configuration factory classes seems have create lot of such factories, 1 factory 1 service. can done seems lot of work. worth doing? ask in such situations - stick callables (no point in refactoring, little gains) or create dozens of factory classes if necessary? cheers.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -