Home > Backend Development > PHP Tutorial > IOC容器是什么?用途是什么?facade是什么?用处是什么

IOC容器是什么?用途是什么?facade是什么?用处是什么

WBOY
Release: 2016-06-13 12:13:16
Original
1560 people have browsed it

IOC容器是什么?用处是什么?facade是什么?用处是什么
IOC容器是什么?用处是什么?facade是什么?用处是什么
------解决思路----------------------
Ioc(Inversion of Control)中文译名控制反转
是工厂模式的逆模式

Facade(外观)模式为子系统中的各类(或结构与方法)提供一个简明一致的界面,隐藏子系统的复杂性,使子系统更加容易使用

------解决思路----------------------
IOC
http://baike.baidu.com/link?url=uZekDoMd5hXg1CEVnHlJ9wZds6psjPPrBqrf0QT0ZrZr8qnw6J9UMCsMg7pTgRB2BdH6uCkPv4apUKnnupDG-K

Facade
http://baike.baidu.com/link?url=cVpH-3v8psmF7-zSCB2YJU6gX9XhmITXfXG6kS4g_6a2NttKzPWJIfVI6EKCIpfLRheWkivam12y4gD279ARza

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template