Discover bauhaus design principles, include the articles, news, trends, analysis and practical advice about bauhaus design principles on alibabacloud.com
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
1. Definition
In short, the definition of the merging/aggregation reuse principle is: Use synthesis and aggregation as much as possible, and do not use inheritance as much as possible.
2. Meaning
Why "we should try to use synthesis and aggregation instead of inheritance?
This is because:
First, inheritance reuse destroys the packaging. It exposes the implementation details of the parent class to the subclass, which violates the principle of information hiding;Second, if the parent class ch
doesn't answer the fundamental object-oriented question-Why do we use object-oriented objects. How should we use the three mechanisms to achieve "good object-oriented". What kind of object-oriented principles should we follow?
Any serious object-oriented programmer, such as a C # programmer, needs to systematically learn object-oriented knowledge and object-oriented knowledge from programming languages and not be competent for object-oriented
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
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
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
Nine Design principles of Material Design
After Google released the new operating system "L Developer Preview", it also released the visual language Material Design. Its Design Aesthetics will be integrated into all Google's platforms, including Chrome OS and web pages, it
Guide: The difference between excellent design and excellent design is relatively small. The average person may not be able to explain the specific differences of the outstanding design, but they can find their favorite web design works. By contrasting a few excellent works, I have summed up a few details of the distin
not a successful website.
04 Fast Download
Nothing is more bad than spending a lot of time downloading pages. As an experience, a standard Web page should be less than 60K and take 30 seconds to load through a 56K modem. Some designers say web pages should be loaded in 15 seconds.
05 Website Upgrades
Always pay attention to the operation of the website. Well-performing hosts may run slowly as the number of visitors increases. However, if you don't want to lose your visitors, be sure to plan you
Become a senior architect first to understand the design pattern, before understanding, to understand the design principles, the original I ate this loss, a long time to someone asked me design principles, I am a dazed, not only design
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
The original address, will continue to update the Http://it.zuocheng.net/mvc-design-pattern-design-principle-summary process technology BlogThis article takes the mainstream MVC framework as an example, such as Java ssh, PHP symfony and Zend Framework, after simply analyzing their design principles, find the
Web page Production WEBJX article introduction: the experience and method of Web page layout design.
Grasp the necessary methods
When designing , if the designer randomly handles without considering the principle method and the object rule, then a lot of times will appear some not very good result. Although sensibility is a very important factor, design must be emotional, but does not mean tha
. 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
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.