Discover object oriented design and patterns 2nd edition, include the articles, news, trends, analysis and practical advice about object oriented design and patterns 2nd edition on alibabacloud.com
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
delegate the customer's request, isolate the direct dependency between the customer and the interface, but it will increase the system overhead. 2. Multi-inheritance separation: it is better to implement Customer requirements through multi-inheritance through interfaces.
The above five basic object-oriented design principles are like the Golden laws in
One, the distinction of the concept
Some people confuse object-oriented database design (i.e. database schema) with object-oriented database management system (OODBMS) theory. In fact, the former is a database user-defined database mode of thinking, the latter is the idea o
the very beginning, I paid special attention to the knowledge of software design. The three books I have read here happen to reflect several aspects of software design and development:
Programming and Development: Design Patterns elements of reusable object-
); parent.goSchool(); parent.pay(); parent.getBook(); parent.goHome(); }}? Usually the beginning of the school report is very happy, because after all, just finished years, received a lot of lucky money, but also waiting to go to school flowers quickly. But Xiao Ming too much love, too little money, rather die than report, to Xiao Ming himself to the school report too difficult, Xiao Ming's parents had to replace Xiao Ming to register. Instead of Xiao Ming to enrol
The object-oriented paradigm is a new and radically different way of thinking about programming, and many people begin to frown on how to construct a project. In fact, we can make a "good" design that leverages all the benefits that OOP offers.Most of the books on OOP analysis and design are unsatisfactory. Most of the
I have been doing program design for the object-oriented design model for a short time. I recently went to several companies for an interview and was asked about the object-oriented design
on their actual invocation of the method, thereby relieving the client does not rely on the methods they do not use.The main methods of separation are the following two kinds: 1, the separation of delegates, by adding a new type to entrust the customer's request, isolate the client and interface direct dependence, but will increase the system overhead. 2, multiple inheritance separation, through the interface multiple inheritance to achieve customer demand, this way is better.
These are the 5 b
The so-called design principles or design patterns are nothing more than those created on the premise of object-oriented. The premise of object-oriented is abstraction. The three featur
First, we need to know what the mode is:
In short: while people constantly discover problems and find solutions to problems in their own environments, discovering different problems actually involves a common nature. These essence is what we call models.
Therefore, the model is representative.
In the Object-Oriented field, the earliest modeling method research was published in 1995 by Gang of Four (gof, Eri
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-
reasons such as the need to modify the original code of the software, may introduce errors in the old code, or we will have to refactor the entire functionality, and the original code needs to be tested again. This has a special impact on our entire system, which also fully shows the coupling of the system if too high, will greatly increase the later expansion, maintenance. In order to solve this problem, people have summed up the principle of opening and closing. The fundamental solution to th
If the principle of open-end is object-oriented design, then the dependency reversal principle is one of the main implementation mechanisms of object-oriented design, which is the concrete implementation of system abstraction. The
computing problems. But the method of gradual refinement cannot provide a system strategy or method to solve a specific problem. Sometimes, there is no top-down method for some problems. Structured program analysis is an effective method for small-scale programs, but it is often ineffective to promote it to large-scale system development, developers cannot use this method to easily reuse reusable components of previous programs. The abstract mechanism of ob
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
1. Overview of Object-oriented System Development
The idea of Object-oriented has already involved various stages of software development, such as: Object-Oriented Analysis (OOA, Object
Some experiences in Object-Oriented Analysis and Design
Analysis, Design and Implementation
What I understand is the true object that exists or does not exist in real life. An obvious feature of this object is that it has many st
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.