Discover ideo principles of design, include the articles, news, trends, analysis and practical advice about ideo principles of design on alibabacloud.com
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
I. Design Pattern principles:
1,Single responsibility principle:
Specific description: there should be only one reason for a class change, that is, a method should do only one thing as much as possible, that is, to implement only one function as much as possible, and an interface should be responsible for only one class of function description as much as possible, the
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
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
:
1. The interface should be as small as possible (core definition );
2. Interfaces must be highly cohesive;
High Cohesion improves the capability of interfaces, classes, and modules and reduces external interactions.
3. Custom Services;
Customized services provide excellent services for each individual.
4. Limited interface design;
5. Law of Demeter (dump) is also known as the least knowledge principle LKP)
Definition: an object shoul
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
day good face is also beautiful still need to modify, this time, there is a big kill device appeared-the design is limited, can not indefinitely consider the future change situation, otherwise it will fall into the mire of design can not extricate themselves.Maintain the purity of the interface1, the interface as small as possible, with a single responsibility conflict priority to consider the principle of
language is:1 , the dependencies between the modules can occur through abstraction, and the implementation class cannot have direct dependencies between them, and their dependencies are generated by interfaces or abstract classes;2 , interface, or abstract class does not depend on the implementation class;3 , implementing class-dependent interfaces or abstract classes;a more streamlined definition is "interface-oriented programming" ------OOD one of the essence. Benefits of the dependency inver
corresponding class of methods run at specific times to give advice on what to deal with? ------This requires spring AOP to provide the appropriate advice, which is what we often call advice.
End The basic working mechanism of AOP has been introduced, and I stress again that I have simply split the different operating periods of the proxy method into three in order to facilitate understanding of the working mechanism of AOP, and the actual implementation of the AOP proxy i
preset default state should have some commonality and intelligence, and help or hint at user actions, and leave the user with the ability to modify and set the default state;
icon, multimedia design, detail design and additional function design to enhance experience and improve experience;
Visual design, such as
Design principles of design patterns (medium)Interface Segregation Principle, then multiple interfaces are used instead. Each interface serves only one submodule. This is similar to the single responsibility principle shared for the last time. Purpose of designing the interface isolation principle: when designing an application, if a module contains multiple sub-
Sharing (six principles of object-oriented design model) and six design models
I recently read an article titled "Please call me your first brother" on the six principles of the design mode. It is simple, easy to understand and can't help but repost and share it with me !!
flexible, and the object function can be changed dynamically.4. Reduce the coupling relationship between objects. Minimize the coupling between objects and make objects independent as much as possible.5. Open and Close principles. Modifications to classes are closed and extensions to classes are open.6. Dependency on high-level abstraction. Do not rely on specific implementations.7. single class responsibility principle. In the course of designing a
Introduction to the six principles of object-oriented design and six major object-oriented design
In fact, they all complement each other. That is to say, some principles must be used to implement themselves.
The six principles are as follows:
1) A single responsibility p
Six main principles:Single duty;Opening and closing principle;Dimitri Principle;The principle of the Richter replacement;dependency inversion principle;Interface Isolation principle23 Different design modes:Create Five types of models: Factory method mode, abstract Factory mode, singleton mode, builder mode, prototype mode. structure mode , a total of seven kinds: Adapter mode, adorner mode, proxy mode, appearance mode, bridging mode, combined mode, e
? In fact, you don't have to worry about where to put it. The dimit rule gives us a solution:
If a method is put in this class, that is, the relationship between classes is not added, and there is no negative impact on this class, it is placed in the class.
4. Attention to the dimit rule (iii) -- use serialization with caution
Serialization is used to sequence object memory data so that it can be transmitted through different media. However, if our software system model is c/s and the client
should have minimal knowledge of other objects.Scenario: The closer the relationship between classes and classes, the greater the coupling, and the greater the impact on another class when one class changes.The simple understanding is cohesion, a class minimizes dependence on other objects, and the methods and properties of this class can be privatized as far as private. Note:1), only communicate with the direct friends, do not talk with strangers.2), excessive use of the principle, will lead 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.