Service Locator He knows how to locate (create or acquire) the services that an application needs, and the service consumer does not need to care about the actual implementation of the service in real life. This article is mainly to share with you
Singleton mode instantiates an object and puts it in a static variable for the program to call.Service positioning (Servicelocator) is the object workshop factory, the caller object directly calls the service Locator, and the called object to
The temporary understanding is (and does not know that):
DI is the IOC implemented with reflection
Service locator is a combination of Registrar mode and Factory mode (Factory mode with memory function)
Try to use PHP as a small example to
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
Dependency ManagementDependency and Package Management Library
Composer/packagist: A package and dependency manager
Composer Installers: A multi-frame Composer Library Installer
Pickle: a php extension installer
Other
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development
Ziadoz a list of PHP resources that are maintained on Github, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more.Bole Online has
Www.php100.comhtmldujia201501058267.htmlwww.php100.comhtmldujia201501068277.html benefits are coming, PHP fans! Foreign programmer ziadoz collects various PHP resources on Github, including libraries and tools for templates, frameworks, databases,
Summary of PHP resources on Github and githubphp. Github provides a summary of PHP resources and githubphp. Foreign programmer ziadoz collects various PHP resources on Github, the content includes a summary of PHP resources on Github for templates,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.