Design Pattern is not a new word to all the developer from the world. We heard a lot and used it a lot. Today, I want to start here to provide some basic info for the Junior Level developer to go through the patterns.
First, what's the Design pattern?
A design pattern is a documented best practice or core of a solution that has been applied successfully in multiple environments to solve a problem that recurs in a specific set of situations.
Here is something clear for the defination of Design Pattern. Plz notice there are some words, 'best practice', 'solution', 'recurs'.
They are samiliar with the framework actially. We used a lot of popular framework from Apache group, such as Struts, Tapestry and etc.
I will list the difference between Design pattern and framework below in order to make you guys understand.
Table 1.1: Design Patterns
versus Frameworks
|
Design Pattern
|
Frameworks
|
Design patterns are recurring
solutions to problems that arise during the life of a software application in
a particular context.
|
A framework is a group of
components that cooperate with each other to provide a reusable architecture
for applications with a given domain.
|
The primary goal is to:
|
The primary goal is to:
|
Help improve the quality of the
software in terms of the software being reusable, maintainable, extensible,
etc.
Reduce the development time
|
Help improve the quality of the software in terms of the software being reusable, maintainable, extensible, etc. Reduce development time
|
Patterns are logical in nature.
|
Frameworks are more physical in
nature, as they exist in the form of some software.
|
Pattern descriptions are usually
independent of programming language or implementation details.
|
Because frameworks exist in the
form of some software, they are implementation-specific.
|
Patterns are more generic in
nature and can be used in almost any kind of application.
|
Frameworks provide domain-specific
functionality.
|
A design pattern does not exist in
the form of a software component on its own. It needs to be implemented
explicitly each time it is used.
|
Frameworks are not complete
applications on their own. Complete applications can be built by either
inheriting the components const directly.
|
Patterns provide a way to do
“good” design and are used to help design frameworks.
|
Design patterns may be used in the
design and implementation of a framework. In other words, frameworks
typically embody several design patterns.
|
分享到:
相关推荐
DesignPattern_BasicKnowledge设计模式之类关系:设计模式 类关系 基础 依赖 关联
Design Pattern(En).chm
The book is not tied to any specific programming language and will be good for you as long as you have a basic knowledge of OOP. Most chapters are available on the website, so you can check out the ...
Professional ASP.NET Design Patterns will show you how to implement design patterns in real ASP.NET applications by introducing you to the basic OOP skills needed to understand and interpret design ...
* Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more * Examine patterns that apply specifically to the client-side browser environment
Node.js Essential Patterns, introduces the first steps towards asynchronous coding and design patterns with Node.js discussing and comparing callbacks and the event emitter (observer pattern)....
complex design pattern such as reactive programming. Spring 5 Design Patterns is divided into three sections. The first section introduces you to the essentials of the design patterns and the Spring ...
Bible for C++ software engineers! All basic design patterns presentation. English version Thank you for download!!!
Professional ASP.NET Design Patterns will show you how to implement design patterns in real ASP.NET applications by introducing you to the basic OOP skills needed to understand and interpret design ...
Advanced topics treated include the factory pattern, the singleton pattern and the decorator pattern. Complete ANSI/ISO-compatible C++ source code is included on a CD for the reader to study and re-...
common pattern is to fill the digits 1 through 9 into a square with 9 rows by 9 columns and subdivided 9 boxes, so that each digit appears once, and only once, in every row, column, and box. In this ...
Continuing to follow a logical pattern for system design Operating System Design: The Xinu Approach Second Edition removes the mystery from operating system design and consolidates the body of ...
You'll see how to find a pattern you can apply to a given UI problem and how to deconstruct patterns to understand them in depth, including their constraints. UI patterns lead to better use of ...
The multi-user data model is a very important link in SaaS platform design. A good data model has a good scalability, can share the data and information well, and satisfy the users’ individual needs....
This project demonstrates examples in java and basic principles of 23 design patterns of OO programming.这个项目包含了面向对象23种设计模式的一些例子和基本原理说明。updates no finish yet还未完全更新...
designpattern 常见设计模式 sorts 基本排序算法 jvm jvm相关 letcode letcode题目解析 普通java项目手动引包: 1.下载需要的jar包,放入lib目录下 2.直接选择要导入的jar包 3.右键选择Build Path-->add to ...
The basic design principles of a Redis data model The key components of Spring Data Redis How we can implement a CRUD application How we can use the publish/subscribe messaging pattern How we can...
1.1 Basic Definitions 2 1.2 Image Formation 3 1.3 Image Processing Operations 7 1.4 Example Application 9 1.5 Real-Time Image Processing 11 1.6 Embedded Image Processing 12 1.7 Serial Processing 12 ...