Discover grokking object oriented design interview, include the articles, news, trends, analysis and practical advice about grokking object oriented design interview on alibabacloud.com
For Java programmers, mastering object-oriented design theory and some design patterns is an essential skill. To start programming without learning a theory is similar to learning a language without studying the alphabet. There's a lot of object-
1. MVC(1) Model: The application object;(2) view: the screen presentation of the model;(3) controller: the way the user interface reacts the user input.
2. View and model: decouple views and ModelsEstablish a subscribe/policy protocol between views and models.Subscribe: update or create views without rewriting models.Required Y: changing models will have y views that depend on them.
3. View and view: compositeview: implemented as a complex view contai
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
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
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
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
. 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
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 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
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
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
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 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
Chapter 6 inheritance and object-oriented design
Many people think that inheritance is the whole of object-oriented programming. Whether this point of view is correct remains to be discussed, but the number of terms in other chapters in this book is sufficient to prove that
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
Idea: Design a table to store personnel information, define the Type field, to distinguish between teachers and students
Advantages: Simple, can deal with the future of various inquiries
Cons: Too many data redundancy fields, slow query speed
2. Common implementations Idea: Design Two tables: A storage teacher, a storage student (the most common way)
Advantages: All this, the
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
Reading directory:
1. Background
2. Ask yourself, does UML make sense to you? Does it help you analyze and model the system?
3. We have been separated by a gap for a long time, making OOAD inaccessible.
4. The four-color prototype fills this gap in history, so that we can see the hope of OOAD.
5. Use color Modeling on four-color prototype to enhance visual impact
6. Create a domain-independent model using four-color prototype
7. Conclusion: you can skip the specific implementation during
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.