您的位置:首页 > 其它

Design Patterns -- Facade

2006-06-21 10:57 288 查看
1. The intent of the FACADE pattern is to provide an interface that makes a subsystem easy to use.

2. A facade class may have all static methods.

3. The JOptionPane class is one of the few examples of a facade in the Java library.

4. In some sense, Facade limit the way we apply some system.

5. A FACADE lies somewhere between the rechness of a toolkit and the specificity of a particular application.

6. demo&facade: A demo is usually a standalone, nonreusable application that shows one way to apply a subsystem; a facade is usually a configurable, reusable calss with a higher-level interface that makes the subsystem easier to use.

7. Pic:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: