Discover bauhaus design principles, include the articles, news, trends, analysis and practical advice about bauhaus design principles on alibabacloud.com
With the C # language foundation, we still need to learn the design pattern principle before learning the design pattern. This is the premise of the design pattern and is the criterion for us to judge whether the design is reasonable. So in this blog, I will first learn and summarize the
database, in the file system in the C + + language after the processing is completed, the final storage is appended to the table. This is the experience of telecom billing system design. (3) If a table is found to have too many records, such as more than 10 million, the table is split horizontally. Horizontal segmentation is done by dividing the table's records horizontally into two tables with a value of the primary key PK for that table as the l
Two days ago, when I talked to a friend about the OO design principles, I had a deeper understanding of the design model. Here I will summarize it and share it with you.OO (Object-Oriented) Object-orientedThe Object-Oriented Method (OO) is a system Method that applies the object-oriented Method to the software development process and guides development activities
calculation is first outside the database, the file system sideAfter the processing of the C + + language is completed, the final storage is appended to the table. This is the experience of telecom billing system design.(3) If a table is found to have too many records, such as more than 10 million, the table is split horizontally. The horizontal split is done with the table primary keyA value of PK is a line dividing the table's records horizontally
example, 10 million), the complex calculation is first outside the database, the file system sideAfter the processing of the C + + language is completed, the final storage is appended to the table. This is the experience of telecom billing system design.(3) If a table is found to have too many records, such as more than 10 million, the table is split horizontally. The horizontal split is done with the table primary keyA value of PK is a line dividing
first outside the database, the file system sideAfter the processing of the C + + language is completed, the final storage is appended to the table. This is the experience of telecom billing system design.(3) If a table is found to have too many records, such as more than 10 million, the table is split horizontally. The horizontal split is done with the table primary keyA value of PK is a line dividing the table's records horizontally into two tables
) is the base class part of the derived class?
(57) If you find multiple inheritance relationships in an object-oriented design, make sure that no base class is actually a derived class of another base class.
(58) in the object-oriented design, if you need to select between the included and associated relationships, select the included relationship.
(59) do not use global data or global functions to note th
interface, and requires minimal code to implement the interface of a standard Windows application. However, if you do not understand the principles of Windows Program Interface design, or unfamiliar with VB interface programming skills, it is difficult to design and implement both the general standard and the characteristics of the interface. Interface
Note: From http://blog.csdn.net/jesse621/article/details/7216331
Principle. Therefore, the name "alias" is the essential meaning. The so-called "one thief first and one king" means that we must first understand the design principles when studying design patterns. All models are developed on the basis of these principles
at the implementation level!
All interactions we define use the base class. What if a subclass cannot completely replace the base class during implementation? Is there a problem with all the interactive contracts? A subclass derived from a base class should support all actions of the base class. The base class must be replaced by the subclass. This is the LSP principle.
We can see that the responsibility and interaction of objects are defined as early as possible. In this process, we did not co
. 05 pay attention to the website running status during website upgrade. Hosts with good performance may run slowly as the number of visitors increases. However, if you do not want to lose visitors, you must carefully plan your Upgrade Plan. 06 adhere to the basic principles even if you do not understand the HTML language, you only need to buy a copyright WYSIWYG web design tool, such as Adobe pagemill or M
Seven Principles of Software Design
The general principles of design patterns are as follows:
1.Open-closed principle ):A software entity should be responsible for extended development and should be closed for modifications. when designing another module, the module should be extended without being modified. in other
1. Single Responsibility Principle
Whether in design, interface, or method, a single responsibility is everywhere. A single responsibility is defined as the cause of system changes. When defining classes, interfaces, and methods. After the definition is complete, think about it again. There is no more motivation to change this class, interface, and method. If the answer is yes, the defined class, interface, and method are more than one responsibility.
General principles of design pattern adherence:1. Open-Close principle (open-closed Principle, OCP): a software entity should be developed for expansion and closed for modifications. The point is that when designing a module, the module should be extended without being modified. In other words, It should be possible to change the behavior of the module without having to modify the source code, and to extend
I recently encountered a problem with the design principles of OOD during the written examination. From http://www.cnblogs.com/xwang/archive/2009/01/13/1374652.html
Five Principles of OOD:
(1): SRP, single responsibility principle (only Buddha should assume the responsibility to publish xuanmiao secrets ...)
A class should have only one reason for change.
Because
Learning design mode is the beginning of learning six principles, because the six principles of the emergence of the final object-oriented TV model competition really fierce ah. Now let's take a look at our six principles. Single Responsibility Principle (SRP):From the side dishes and Big bird shooting UFO to talk abou
During software design, the degree of detail of analysis and design, as well as design deficiencies and transitional design problems are usually encountered. Generally, the purpose of design is to grasp the degree of design, avoid
Before we learn the seven principles of object-oriented design, we should have a good understanding of basic encapsulation, inheritance and polymorphism, as well as the ability to encode abstract classes and interfaces, because design patterns are the integrated application of the above knowledge points.In addition, before contacting the specific
the programmer should have the-solid principle of artistic temperament. S.O.L.I.D is the acronym for several important coding principles (programming Priciple) in object-oriented design and programming (Oodoop).
SRP
The single Responsibility Principle
Single Responsibility Principle
Ocp
The Open Closed Principle
Open Closure principle
Lsp
Th
) relationship, which indicates that class B is affected if Class A is modified. Two or five principles of design
"The Five Principles of object-oriented design" and the role of the principle of benign dependence in coping with change.
Single Responsibility principle (Single-resposibility Principle). "There should be
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.