(a) design mode of PHP Project Application (Introduction)

Source: Internet
Author: User

1 Design Pattern Introduction design pattern is a set of reusable, most known, categorized purposes, code design experience Summary. Design patterns are used in order to reuse code, make code easier for others to understand, and ensure code reliability. There is no doubt that design patterns in others in the system are multi-win; Design patterns make code production truly engineering; Design patterns are the cornerstone of software engineering, like the structure of a building.


2 "design mode of PHP project application" Writing background

Clevercode programming also has a period of time, there are some programming experience and experience, want to communicate with you and discuss.

When the university studied some algorithms, but found that these advanced algorithms in the actual project application is not many, clevercode with the most algorithm is the width first traversal and backtracking algorithm, like what graph theory, binary tree, big Integer and so on, and now basically useless.

Above are some digression, but also some clevercode background. In the work of the project, found that good algorithms can bring you high efficiency. But a good program architecture, the application of some excellent design patterns, will make themselves more effective. Clevercode very annoying because of the changes in demand, need to large tracts of changes in their previously designed code. At that time I felt that the code is good, but once there is a new demand, always make people very passive, and have to change the code. Therefore, after the bitter lesson, I feel earnestly study the design pattern.

3 Why write the PHP project application of design mode?

Clevercode is a PHP programmer, and most of the books you see when learning about design patterns are Java-encoded. Most of the project examples in the tutorial are abstract. Clevercode want to use the design patterns of their own projects, as well as some of the classic online design model project cases, with PHP written out to discuss with you.

4 What is the PHP project application of design mode?

"Design mode of PHP Project Application", not a book, but Clevercode write some design patterns experience and experience. Write these learning processes into blogs and put them into the PHP project application of design mode.


5 PHP Project source 1) online classic design pattern Project case
2) Design Patterns in the book Project case
3) projects that are applied to design patterns in Clevercode design projects


6 other

Perhaps some of the project application design pattern is not good enough, if there is better design advice, please you can put forward comments, discuss together!


Copyright Notice:

1) original works, from "Clevercode's blog" , please be sure to mention the following original address when reproduced , otherwise hold the copyright legal responsibility.

2) Original address : http://blog.csdn.net/clevercode/article/details/45692949 ( reprint must indicate this address ).

3) welcome everyone to pay attention to my blog more wonderful content: Http://blog.csdn.net/CleverCode.


(a) design mode of PHP Project Application (Introduction)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.