Discover bauhaus design principles, include the articles, news, trends, analysis and practical advice about bauhaus design principles on alibabacloud.com
Article Description: design in a lot of times are inspired by the Flash, mobile application design is more flexible, how to better design an application, there is no specific methods and conventions. However, in order to better avoid the designers detours, design principles
Opening and closing principles
Definition: A software entity such as classes, modules, and functions should be open to extensions and closed for modification.
The source of the problem: in the software lifecycle, because of changes, upgrades, and maintenance, and other reasons for the software to modify the original code, may introduce errors in the old code, may also cause us to have to refactor the entire function, and the need for the original cod
Why design patterns? Let's take a look at the six principles and use the design pattern principles.
Introduction
I don't like reading books very much, because I forgot to read ten lines of books, so I read the left teacher and copied it to improve my memory.
This is the http://www
First Lecture: 1. Object-oriented design patterns and principles Introduction to Design Patterns: Each pattern describes a problem that recurs around us, and the core of the solution to the problem.--christopher alexander{Architect} Software designers ' understanding of the concept of design patterns: (1) The
package, it will affect all classes in the package, but it will not affect other packages.
Package coupling principle
No-ring dependency principle (Acyclic Dependencies Principle, ADP)
The package dependency does not allow loops.
Stable-Dependencies Principle, SDP)
Dependency in a stable direction
Stable-abstractions principle (SAP)
The abstraction level of the package should be consistent with its stability.
Old ti
weigh repeatedly, not only to make the structure clear, but also to achieve high cohesion and low coupling.---> Dimitri Law requires decoupling between classes, but the decoupling is limited, the principle is only for reference, if it violates this principle, the project may not fail, which requires you to use the principle of repeated measures, do not follow is not correct, strict implementation is "too bad."Iv.: Central idea(1) in a scene, the A,b,c class. Complete a goal. A relies on b,b to
Single Responsibility Principle, abbreviated as SRP.Definition: There should never is more than one reason for a class-to-change.There should be and only one cause for class changes.Division of duties? A single definition and level?should be based on actual business conditions. Focus on the point of change.In practice, classes are difficult to do with a single function, but the interface should be as single as possible.Design pattern six Principles/In
Article Description: Excellent web Design 10 principles: innovative practical and rich in beauty.
He was able to make a revolution in the way we use home appliances, and now we still have it as a design inspiration for the modern world, the best example of which is Apple. The core features of many of Apple's best-selling products are based on the
What is design mode? Design patterns are a set of reusable, most known, categorized purposes, code design experience Summary. Use designPatterns are designed to reuse code, make code easier for others to understand, and ensure code reliability. There is no doubt that design patterns are more in the system than othersWi
This article was compiled from 〈a Matter of principle〉, author of Facebook product design director Julie Zhuo.Julie stressed in the article, designers make every design decision behind, should have to have this, it is best to have to stand the test of the principle of support, and these principles can be scaled, so that other members of the team can understand, d
I. Design Principles1. Dependency inversion principle (DIP)
High-level modules (stability) should not depend on low-level modules (changes), both of which should depend on abstraction.Abstract (stable) should not depend on implementation details (changes), and implementation details should depend on abstraction.
2. Open and closed principle (OCP)
Class modules should be extensible, but cannot be modified; open to extensions and closed to changes
closed principle is vague. It only describes how the objects in the software are opened for extensions, but not modified or disabled. The principle of opening and closing is an abstract summary of the first five principles. The first five principles are specific implementations of the principle. Therefore, if the principle of opening and closing is used, it is actually a bit false because it does not have
Before, the author shared an article, "Comprehensive analysis of the importance of Web page vision design principles", the article simply introduced the web design principles of the importance of visual. A friend added my QQ to discuss what principles of visual
Since the core of object design is the class, the following principles are basically the discussion of the design of the class, the other types of elements are relatively simple, basically also conforms to most of the principles listed here. Before we have analyzed the basic princi
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
In the previous Java 23, you learned about the singleton mode and Factory mode of design mode. Here, the design pattern is introducedPrinciple of object-oriented thought designIn the actual development, we want to understand the object-oriented thinking more deeply, we must be familiar with the design principles of the
Open closed Principle)
The core of the open/closed principle is: open to expansion and close to modification.
The vernacular means that when we change a software (such as extending other functions), we should use the extension method to achieve the software change, instead of modifying the original code to achieve the change.
The principle of opening and closing is an abstract summary of the first five principles. The first five
Original Author: Robert C. Martin
Original article: http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf
Reference page: http://www.objectmentor.com/resources/publishedArticles.html
Ii. Object-oriented Design Principles
1 The Open-Close principle (open and closed principle)
A module shoshould be open for extension but closed for modification.
A module should be open to e
10 object-oriented design principles that Java programmers should know, java Object-Oriented Design
Object-Oriented Design principles are at the core of OOPS programming, but most Java programmers I have seen are enthusiastic about desig
Article Description: Mobile interface design drip.
The design of mobile platforms differs from traditional Web pages in many ways, such as unique interactive experiences, visual effects under different lighting, and limited resources for mobile terminals. These are testing the technology of the developer.
By recording the design of mobile interface, 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.