Alibabacloud.com offers a wide variety of articles about best object oriented design book, easily find your best object oriented design book information here online.
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
C # overview of the object-oriented design model (1): Face-to-Face Design Model and mongo.zip
Lecture content: this training course introduces the basic concepts and principles of object-oriented
The object-oriented design principle is the core of OOPS (object-oriented programming system, Object-Oriented Programming System) programming. However, most Java programmers pursue
Three books
The day before yesterday, I went to Shucheng and spent a lot of effort to buy three books :《CodeDaquan (second edition), ASP. Network 2.0 Development Guide and object-oriented system analysis and design ( UML For object-oriented system analysis and
conducive to implementing all methods before any class uses interfaces, so a single function means less implementation methods.
Principle 9: Interface Programming, not implementation programming
This principle can make the code more flexible, so that it can be used in any interface implementation. Therefore, it is best to use the variable interface type, method return type, method parameter type, and so on in Java. ImpactJava and headFirst design pat
principle. loops are not allowed in the package dependency graph.◆ SDP, stable dependency principle, and dependency in a stable direction.◆ SAP: the principle of stable abstraction should be consistent with the degree of abstraction of the package.:
1. OOD, full name: Object Oriented Design, that is, object-
used to trust the customer's request and isolate the direct dependency between the customer and the interface? System overhead. 2. Multi-inheritance separation: it is better to implement Customer requirements through multi-inheritance through interfaces.
The above five are the main object-oriented design principles. They are like the Golden laws in
Javascript OOP design Pattern Object-oriented programming
When we first wrote the JS code, it was written like this.
function CheckName () {
//verify name
}
function Checkemail () {
//verify mailbox
}
function Checkpassword () {
//Verify password
}
This way can cause serious pollution of global variables, and then transiti
Object-oriented design patterns and principles 01. Introduction to Design Patterns:650) this.width=650; "title=" QQ picture 20150427231535.png "Src=" http://s3.51cto.com/wyfs02/M01/6C/0A/ Wkiol1u-wnmtuinbaacmezbs9jc247.jpg "alt=" Wkiol1u-wnmtuinbaacmezbs9jc247.jpg "/>Each pattern describes the problem of the stomach as
Object-oriented design principles are at the heart of oops programming, but most of the Java programmers I've seen are enthusiastic about design patterns like Singleton (singleton), Decorator (adorner), OBSERVER (Observer), Instead of focusing enough attention on learning object
Object-oriented design principles are at the heart of oops programming, but most of the Java programmers I've seen are enthusiastic about design patterns like Singleton (singleton), Decorator (adorner), OBSERVER (Observer), Instead of focusing enough attention on learning object
the outside world.In General , process-oriented development is relatively easy, but it is not easy to deal with changes, object-oriented development is difficult, but it can better deal with the ever-changing world. Therefore, the modern software needs object-oriented devel
used to trust the customer's request and isolate the direct dependency between the customer and the interface? System overhead. 2. Multi-inheritance separation: it is better to implement Customer requirements through multi-inheritance through interfaces.
The above five are the main object-oriented design principles. They are like the Golden laws in
Object-oriented design principles are at the heart of oops programming, but most of the Java programmers I've seen are enthusiastic about design patterns like Singleton (singleton), Decorator (adorner), OBSERVER (Observer), Instead of focusing enough attention on learning object
Object-Oriented Design, ORM, and nhib.pdf)
The ORM design is actually an O-to-D process, that is, the data entity is finally generated by the object. however, the problem is that in traditional design, we must
responsibilities are coupled. A change in responsibility may weaken or suppress the ability of other responsibilities of this category. This design will lead to a fragile design. When a change occurs, the design will be unexpectedly damaged.
SRP makes the system easier to manage and maintain because not all problems are involved.
Cohesion is actually another n
. Use aggregations/combinations to achieve code reuse and less inheritance reuse.Dependency Inversion principle: For abstract programming, do not target specific programming.Seven design principles of object-oriented1. Opening and closing principle2, the Richter replacement principle3. Single Duty principle4. Interface Isolation principle5. Dependency Inversion principle6. Dimitri Principle7. Combination/Ag
Seven principles: Open and close principle, Richter substitution principle, dependency reversal principle, synthesis/aggregation multiplexing principle, Dimitri rule, interface isolation principle, single duty principle.The open and closed principle is the cornerstone of object-oriented reusable. The other six principles are instruments and tools.Details of the rules (reproduced in this section)http://kb.cn
I entered school in September and graduated in July. It ended my pleasant and rich college life at the Software Institute. This series is a review of the four-year study of professional courses, see: http://blog.csdn.net/xiaowei_cqu/article/details/7747205
Object-Oriented Programming
This is the first lesson in programming. I was also the first time in this course to get started with programming languages a
The maintainability and reusability of softwareRobert C.martin, a well-known software guru, believes that a low-maintainability (maintainability) software design is typically caused by the following 4 reasons:
Too stiff (rigidity)
Too fragile (fragility)
Low reuse rate (immobility)
High viscosity (Viscosity)
The software engineering and modeling guru Peter Coad believes that a good system
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.