Alibabacloud.com offers a wide variety of articles about best books on design principles, easily find your best books on design principles information here online.
Summary: This text is divided into two parts. The first part: basic knowledge of design pattern; Part Two: The six principles in software design, and analyzes the principle of single responsibility in detail.
(the timeline reference for this article: \java design mode (time series diagram) for Notes Support fo
-adhered, the points will fall outside the great circle. A good design is shown in the figure, which should be a hexagon with six vertices in the concentric circle.In, design 1, Design 2 is a good design, their adherence to the six principles are within a reasonable range;
MySQL performance tuning and Architecture Design-Chapter 1 Basic Principles of scalable design, mysql Tuning
Chapter 1 Basic Principles of scalable design Preface: With the rapid increase of information, the development of hardware equipment has gradually become unable to ke
First, the importance of design in software developmentImportanceWhen we went to college, we always didn't understand why we had to talk about such a theoretical thing, it was just a feeling that it was useless, we wanted to learn something that we could see, and when you graduated you would find that basic knowledge was important, And this knowledge has a commonality is can be separated from the specific technology or problems exist, is a long-term g
30-minute understanding of Object-Oriented Design Principles
Many people have read the design patterns, but Martin does not have much estimation on the object-oriented design principles (For details, refer to Agile Software Development:
Object-oriented design principle principle objective object-oriented design original table single Responsibility principle case Closed-closing principle case dependence reversal principle caseObject-Oriented design principlesFor the design of object-oriented software system, it is a very important problem to improve th
As we all know, design principles are the cornerstone of design patterns. When the design principles are followed, the written code becomes very flexible and can cope with changes and be easier to maintain. Of course, it is not so absolute. Next, we will briefly introduce so
Design principles (7 types): There are so many principles that guide us in the design and development of our programs because there is an unknown change in our program. In order to embrace this unknown change at the lowest cost, our predecessors summed up so many principles.
Let's take a look at how the Blog table described in mongodb: varBlogSchemenewdb. schema ({title: String, desc: String, author: String, body: String, tags: [String], count: {type: Number, default: 0 }, hidde...
Let's take a look at the description of the Blog table in mongodb:Var BlogScheme = new db. Schema ({Title: String,Desc: String,Author: String,Body: String,Tags: [String],Count: {type: Number, default: 0 },Hidden: {type: Boolean, default: false },Date: {type: Date, default: Date. now },
using inheritance to provide an object's behavior can result in:1, the code in multiple subclasses repeat 2, it is difficult to know all the ducks all the behavior 3, the operation of the behavior is not easy to change 4, the change will reaching, causing the other ducks do not want to changeDesign principles 1:find out where changes may be needed in your application, separate them, and don't mix with code that doesn't need to change. Note: Take the c
priority design, the case is mainly for picture design, but the concept of "average law" should be applied to product design, user experience, information architecture--almost any other area of design. Let's look at product design and mobile priority
design, but the concept of "average law" should be applied to product design, user experience, and information architecture-almost any other field of design. Let's take a look at the product design and mobile-first design ideas. Starting from the perspective of mobile devic
both the order table and the Order record table, the order table read and write frequently, and the order record table for the management, read and write general) 7, Configuration table, log table, scheduled task table, etc. 8. Summary table Design (Multi-Table association queries will be slow, but also easy to get stuck in the case, you can consider a summary of the business, record to the summary table)Fourth step in optimization designAfter the pr
9 principles of GUI Design (article 3) and 3 of gui Design 9
Basic Principle 7: transfer information, not just dataBasic Principle 8: The design should meet the response needsBasic Principle 9: discover an error through a user trial and fix it
7) Principle 7: transfer information, not just dataThe computer promises a
general)7, Configuration table, log table, scheduled task table, etc.8. Summary table Design(Multi-Table association queries will be slow, but also easy to get stuck in the case, you can consider a summary of the business, record to the summary table)Fourth step in optimization designAfter the precipitation of the business, accumulate some design ideas or extract the common points of the multi-project, red
Article Description: Response web Design is now a hot topic in web design. In a way, it is very important to respond to the popularity of web design concepts because users are accessing the site in more and more diverse ways. Ipad,iphone,android mobile devices, desktops, notebooks-now our web design has to be used in a
, a class that only does something specific, not everything.Design principles in the GRASP model craig Larman in applying UML and Patterns The concept of grasp design pattern is presented in the book. gof design mode is a workaround for a specific problem Span style= " font-family: ' microsoft yahei '; font-size:14pt; ">grasp is the point of view of object-
functionality.
22. Bridge mode: Separates the abstract part from its realization, so that they can change independently.
23, Flyweight, enjoy meta mode
In fact, there are two types: concurrency mode and thread pool mode. Use a picture to describe it as a whole:
The six principles of design pattern
General principle: Opening and closing principle (Open Close Principle)
The open and closed principle is to
which rely on abstract classes.B. Abstract classes should not be dependent on implementation details, and implementation details should be dependent on abstraction.This principle overturns some people's understanding of object-oriented programming, such as: both the upper and lower layers should rely on the same abstraction."Onlookers" design mode (3)-Dependency inversion principle (dip,dependence inversion Principle)4 Interface Isolation principleTh
interface separation principle:
(1) The interface should be as small as possible: it is mainly used to ensure that an interface serves only one submodule or business logic.
(2) High interface cohesion: High interface cohesion is highly dependent on the internal environment and is isolated as much as possible. That is, the methods declared in an interface are related to a submodule and are required by this submodule.
(3) the interface design is limite
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.