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

          導航

          常用鏈接

          留言簿(8)

          隨筆分類(45)

          隨筆檔案(82)

          文章檔案(2)

          Java Spaces

          搜索

          •  

          積分與排名

          • 積分 - 65571
          • 排名 - 817

          最新評論

          閱讀排行榜

          評論排行榜

           
          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 閱讀(204) 評論(0)  編輯  收藏 所屬分類: Design Patterns
           
          Copyright © Dedian Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 新蔡县| 科技| 黑山县| 庄河市| 措美县| 唐山市| 武冈市| 登封市| 山东省| 万安县| 永泰县| 湖州市| 抚顺市| 罗平县| 凌云县| 兴和县| 五家渠市| 江北区| 石台县| 高邑县| 即墨市| 阿克陶县| 胶南市| 榆林市| 新建县| 周至县| 行唐县| 苍山县| 渭源县| 枝江市| 罗江县| 定州市| 邳州市| 平度市| 胶南市| 惠安县| 安平县| 奈曼旗| 保亭| 平顺县| 宜良县|