Welcome![Sign In][Sign Up]
Location:
Search - php design patte

Search list

[Software Engineeringguide_to_php_design_pattern_zh

Description: 所有的设计模式都有一些常用的特性:一个标识(a name),一个问题陈述(a problem statement)和一个解决方案(a solution)。 1、一个设计模式的标识是重要的,因为它会让其他的程序员不用进行太深入的学习就能立刻理解你的代码的目的(至少通过这个标识程序员会很熟悉这个模式)。? 2、问题描述是用来说明这个模式的应用的领域。? 3、解决方案描述了这个模型的执行。一个好的设计模式的论述应该覆盖使用这个模型的优点和缺点。? -All the design patterns have some common characteristics: a logo (a name), a problem statement (a problem statement) and a solution (a solution). 1, a design pattern identification is important, because it will let other programmers do not get into too detailed a study will be able to immediately understand the purpose of your code (at least through this logo programmers will be very familiar with this mode). ? 2, the problem described in this model is used to describe the areas of application. ? 3, the solution describes the implementation of this model. A good discussion of design patterns should cover the use of this model advantages and disadvantages. ?
Platform: | Size: 1128448 | Author: linjing | Hits:

CodeBus www.codebus.net