`
banner
  • 浏览: 52840 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Gateway

    博客分类:
  • PEAA
 
阅读更多
    从Gateway模式的结构图看有点像Facade, Gateway是为阻隔复杂度向外蔓延而生的,它把复杂的实现封装起来,为其他模块或系统提供一个简单易用的接口。
    PEAA中提到,Facade simplifies a more complex API, it's usually done by the writer of the service for general use. Gateway is written by the client for its particular use. Facade的很重要的作用是减少多模块或子系统间通信。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics