Dedian  
          -- 關注搜索引擎的開發
          日歷
          <2006年4月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456
          統計
          • 隨筆 - 82
          • 文章 - 2
          • 評論 - 228
          • 引用 - 0

          導航

          常用鏈接

          留言簿(8)

          隨筆分類(45)

          隨筆檔案(82)

          文章檔案(2)

          Java Spaces

          搜索

          •  

          積分與排名

          • 積分 - 66091
          • 排名 - 813

          最新評論

          閱讀排行榜

          評論排行榜

           
          Purpose:
          Defines a higher-level interface to hide subsystem's complexities and provides an easy interface for client to use.

          Case study:
          Compiler subsystem

          Structure:
          -- The facade and backend classes(subsystem classes) are in a separate package from the client.
          -- The backend API is package-private
          -- The facade API is public.

          Implementation:
          consider following two issues when implementing a facade:
          -- Reducing client-subsystem coupling.
          -- Public versus private subsystem classes.

          reference:
          http://www.allapplabs.com/java_design_patterns/facade_pattern.htm
          posted on 2006-04-20 10:04 Dedian 閱讀(210) 評論(0)  編輯  收藏 所屬分類: Design Patterns
           
          Copyright © Dedian Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 宁晋县| 新河县| 铜梁县| 拉萨市| 中宁县| 西乌珠穆沁旗| 芮城县| 堆龙德庆县| 钟祥市| 科技| 饶河县| 洛阳市| 玉树县| 凤山市| 桦甸市| 龙里县| 克拉玛依市| 娱乐| 兴和县| 家居| 夏河县| 长寿区| 湖南省| 重庆市| 兴业县| 沙洋县| 安图县| 龙里县| 宁德市| 民丰县| 韩城市| 江阴市| 吴旗县| 缙云县| 聂荣县| 建昌县| 宜春市| 乌恰县| 承德县| 芜湖县| 荥阳市|