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
Basic Design Principles
Writing code that can work normally is one thing, and writing good code that can work normally is another thing. A well-designed system is not a series of commands and patching. There are many things that are directly or indirectly related to the design. Compared with other quality features defined in international standards, you need to p
. NET domain driven design-first taste (one: questions, patterns, principles, tools, processes, frameworks, practices)2013-04-07 17:35:27Tags:. NET DDD Driver Design original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be invest
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:
12th principles of extensible designPreface:With the rapid increase of information, the development of hardware equipment has been slowly unable to keep up with the application system to the processing capacity requirements. At this point, how can we solve the performance requirements of the system? There is only one way to improve the system's scalability by transforming the architecture of the system, by combining multiple low-capacity hardware devi
, architecture, music, literature, painting, and more recently talked about web design.
Although the minimalist design developed over the decades, the early internet did not show the effect. There is not even the rotation of the logo, picture scrolling and bright colors, web design chaos and irregular. In fact, we can return to the basic
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
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
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.
1. Opening and closing principle (the Open Closed principle OCP)
A module should be open in terms of extensibility and should be closed in terms of modification. Therefore, the interface encapsulation mechanism, abstract mechanism and polymorphic technique should be considered as far as possible in object-oriented design. The principle is also suitable for non object-oriented design method, is one of the i
Tags: efficiency file Cap File System Runtime design principles Description Program implementation recommendations1. Relationship between the original document and the entityCan be a pair of one or one-to-many, many-to-many relationships. In general, they are one-to-one relationships: a single original document corresponds to and corresponds to only an entity.In special cases, they may be one-to-many or man
Tags: blog http ar os using SP strong on fileDatabase design principles (reproduced)1. Relationship between the original document and the entityCan be a pair of one or one-to-many, many-to-many relationships. In general, they are one-to-one relationships: a single original document corresponds to and corresponds to only an entity.In special cases, they may be one-to-many or many-to-one relationships, that i
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
Ryan Boudreaux, primarily for the hospitality industry and the federal government, wrote a series of articles on four design principles, the first Effective design principles for Web Designers:contrast , as follows:
If you have received a formal course in design, you may ha
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
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
) When using the data-oriented SQL language for programming, the optimization algorithm should be taken as far as possible.In conclusion, in order to improve the efficiency of database operation, it must be optimized from database system level, database design level, program implementation level, and the threeAt the same time on a level.The above 14 skills, is a lot of people in a large number of database analysis and
example, the coding logic of a program, the actual SQL statement used, is divided within the scope of the application design. Factors that affect the performance of DB2 systems include, for example, installation options, buffer pool size, allocation priority for the DB2-related address space, and so on. The focus of this paper is the design of DB2 database. But there are times when the boundaries between t
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.