direction as much as possible, that is, the top-level classes should share work in a unified manner according to the design.
(13) do not create all-powerful classes/objects in your system. Be especially careful about the classes whose names include driver, Manager, system, and susystem.Plan an interface instead of implementing an interface.
(14) Be careful with classes that define a large number of access methods in public interfaces. A large num
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
The maintainability and reusability of software
Robert 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 design shou
Just like the location of Newton's three major laws in classical mechanics, the open-closed principle is the cornerstone of object-oriented reusable design (Object Oriented Design or OOD. Other
The term "Object-Oriented Software Design" and its related topics have become familiar to many developers and even get tired of hearing it. However, to attract attention and attract the attention of the "opposite sex", this topic is still a topic to choose this hot topic as the topic of this blog. Please forgive me. I also hope you can put down the shelf and skip
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
Just like the location of Newton's three major laws in classical mechanics, the Open-Closed Principle is the cornerstone of object-oriented reusable Design (Object Oriented Design or OOD. Other
Chapter I. INTRODUCTION1. What is design mode?Design patterns are the core solutions that people use to solve similar problems and solve such problems. Design patterns are used to implement design reuse.2. Four elements of design patternName: Describes the problem, solution,
: This article mainly introduces (9) The 5 principle of object-oriented design. if you are interested in PHP tutorials, please refer to it. 1. object-oriented summary:
1. high abstraction is conducive to high summarization.
2. the code is a document.
2. example of a message
Just like the location of Newton's three major laws in classical mechanics, the open-closed principle is the cornerstone of object-oriented reusable design (Object Oriented Design or OOD. Other
Object-oriented in JavaScript is essentially an abstraction of a requirement into an object that contains properties and methods that can be used to describe or manipulate a class of objects called classes.Thethree elements of object-oriented in JAV A are: encapsulation, inh
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 solution is the organizational relationship between classes and mutual objects, including their roles, responsibilities, and collaboration methods.
"Good Object-Oriented Design Patterns" are those that can meet "respond to changes and improve reuse"
The object-oriented
The authors of this book describe each design pattern by using a class diagram (the UML class diagrams, the basics of which are described in addition to the object-oriented language applet + character dialogue interpretation knowledge points. This article is the introduction of "Big talk
Author: Anders James
Synchronized from: http://www.blogjava.net/AndersLin/archive/2006/11/21/82627.html
Let's take a look at booch's classic discussion of Object-Oriented Analysis and Design:Oop: Object-oriented programming is an implementation method,ProgramIs organized into a collaborative set of objects. Each
1. Why to use C languageUntil today, although the C language is not the most used language, but C is not old, in many core system code, still running is beautifully designed C, the vast majority of embedded development core library software is developed by C, most of the standard algorithm is based on the standard C design. C language with its concise, flexible and superior performance, still in the heart of the core software designers have an unshaka
First, the packageOne of the characteristics of object-oriented programming is encapsulation, and the popular way of thinking is to put the function in an object. Unfortunately, for JS this kind of explanatory weak type language does not have the classical strong type language in the same way through the class and so on keyword implementation of the package metho
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
11 principles of object-oriented design
Single Duty principle (the Responsibility Principle , abbreviation SRP )
Open-Close principle (the Open-close Principle , abbreviated as OCP )
Liskov Replacement principle (the Liskov Substitution , hereinafter referred to as LSP )
Dependency Inversion principle (the Dependency inversion Principle , referred to as
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.