Design patterns are 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 writing truly engineering; Design patterns are the cornerstone of software engineering, like the structure of a building. We collected the "Boolean Education design mode video tutorial", hoping to help you better understand the concept of design patterns.
Course Play Address: http://www.php.cn/course/292.html
The teacher's lecture style:
Teachers teach in a clear, well-organized, layered analysis, interlocking, rigorous argumentation, structural rigorous, with the logical power of thinking to attract students ' attention, with reason to control the course of classroom teaching. By listening to the teaching of teachers, students not only learn knowledge, but also receive the training of thinking, but also by the teachers rigorous study attitude of edification and infection.
The difficulty in this video is bridging mode:
Bridging mode: In a software system, some types have changes in two or more dimensions because of their own logic, so how do you deal with this "multidimensional change"? This will use bridging mode-separating the abstraction from its implementation, so that they can change independently.
Role Description:
Abstract (abstractroad) Role: Abstract The given definition and save a reference to the implemented object.
Fix abstract (speedway) roles: Extend abstract roles, change and modify the definition of the parent class for abstraction.
Implementation-Abstractcar role: This role gives the interface to the implementation of the role, but does not give a specific implementation. It must be noted that this interface is not necessarily the same as the interface definition of the abstract role, in fact, the two interfaces can be very different.
Implementation-specific (Bus) role: This role gives the implementation of the implemented role interface.
Here also recommend the source of resources to download: http://www.php.cn/xiazai/learn/2131
Resources for everyone to share the video courseware and source code