Facade模式 : 为子系统中的一组接口提供一个一致的界面.简言之,就是为凌乱、繁杂的接口(或者是类)构造一个统一的接口(或者是类),便于使用、很多时候达到了复用的目的。这在教材中的例子能够看出来,有一句是很好的总结:A tax adviser is a Façade between you and the tax code, and a mediator between you and the tax system.
此外可以参考这个例子 www.jdon.com/designpatterns/designpattern_Facade.htm
1348

被折叠的 条评论
为什么被折叠?



