×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / 在面向对象设计中有个词叫facade,困惑许久不知道其中文翻译是什么,有何含义, thx
    • 原文是法语,含义为正面、外观、脸面等。在这里是什么意思就不知道了。
    • Façade is an interface on top of a subsystem.
      It is a common practice to divide a system into subsystems to reduce complexity. Subsystems contain classes highly coupled in-between and complexity can grow. Façade opens selected functionality for clients to use while hide the implementation within. Clients can still access other functions if they want (pass by facade). Reduce the dependency between subsystems will enhance the reusability of the overall system and reduce the developing or compiling time for large applications.
      Hope this brief could be helpful.
      • Fa&ccedil is Facade. Wrong encoding. Sorry.
    • Facade is a Design Pattern
      Facade is a Design Pattern described in the book of GoF.
      http://www.amazon.com/exec/obidos/ASIN/0201633612/

      Here's a non-software example of Facade which helps understanding:
      http://www.agcs.com/supportv2/techpapers/patterns/papers/tutnotes/sld014.htm
    • Thank pyramid, aiattendant, iron 's kindly help, now I'm more clear with the "Facade" word, appreciate your comments & website , :D