|
|
| Line 1: |
Line 1: |
| <!-- BEGIN interlang links -->
| |
| <!-- Do NOT edit this section
| |
| Links below are automatically managed by PolyglotBot
| |
| You can edit links on the English source page : Language_and_development_rules -->
| |
| [[en:Language_and_development_rules]]
| |
| [[de:Sprachen_und_Programmierregeln]]
| |
| [[fr:Langages_et_normes]]
| |
| [[es:Lenguaje_y_Normas_de_Desarrollo]]
| |
| <!-- END interlang links -->
| |
|
| |
| {{Template开发文档}} | | {{Template开发文档}} |
| {{Template用户手册}} | | {{Template用户手册}} |
| Line 535: |
Line 525: |
|
| |
|
| =设计模式与面向对象编程= | | =设计模式与面向对象编程= |
| 设计模式由四人帮(Gang Of Four)定义(参见维基百科上的 [[wikipedia:Design pattern|设计模式]] )。
| |
|
| |
|
| ==创建型模式 (GoF)== | | ==创建型模式 (GoF)== |
| 在Dolibarr中,没有实现特定的行为设计模式。有一些对象在设计思想上接近 Singletons 和 Fabriques,但在语法上不一致,以便尽可能与不是纯对象语言的PHP兼容。
| | 由四人帮(Gang Of Four)定义的设计模式(参见维基百科上的 [[wikipedia:Design pattern|设计模式]] )。在Dolibarr中,没有实现特定的创建型设计模式。有一些对象在设计思想上接近 Singletons 和 Fabriques,但在语法上不一致,以便尽可能与不是纯对象语言的PHP兼容。 |
|
| |
|
| ==结构型模式 (GoF)== | | ==结构型模式 (GoF)== |
| Design patterns defined by the Gang Of Four (see wikipédia on [[w:Design patterns|Design patterns]]).
| | 由四人帮(Gang Of Four)定义的设计模式(参见维基百科上的 [[wikipedia:Design pattern|设计模式]] )。在Dolibarr中,没有实现特定的结构型设计模式。 |
| No usage of such patterns is required.
| |
|
| |
|
| ==行为型模式 (GoF)== | | ==行为型模式 (GoF)== |
| Design patterns defined by the Gang Of Four (see wikipédia on [[w:Design patterns|Design patterns]]).
| | 由四人帮(Gang Of Four)定义的设计模式(参见维基百科上的 [[wikipedia:Design pattern|设计模式]] )。在Dolibarr中,没有实现特定的行为型设计模式。 |
| No usage of such patterns is required.
| |
| | |
| ==企业设计模式(马丁·福勒)结构设计模式 (GoF)==
| |
| Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]).
| |
| No usage of such patterns is required.
| |
| | |
| ==行为设计模式 (GoF)==
| |
| Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]).
| |
| No usage of such patterns is required.
| |
|
| |
|
| ==企业设计模式 (Martin Fowler)== | | ==企业设计模式 (Martin Fowler)== |