`
mengshao
  • 浏览: 967 次
  • 性别: Icon_minigender_1
  • 来自: 大连
最近访客 更多访客>>
社区版块
存档分类
最新评论

Basic Design Pattern

阅读更多

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设计模式之类关系

    DesignPattern_BasicKnowledge设计模式之类关系:设计模式 类关系 基础 依赖 关联

    Design Pattern(En).chm

    Design Pattern(En).chm

    Design.Patterns.Explained.Simply

    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

    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 ...

    JavaScript Patterns

    * 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 Design Patterns Second Edition[July 2016]

    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)....

    Spring 5 Design Patterns-Packt Publishing(2017).pdf

    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 ...

    Design Patterns - Element of Reusable Object-Oriented Sorftware

    Bible for C++ software engineers! All basic design patterns presentation. English version Thank you for download!!!

    ASP.NET 设计模式

    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 ...

    C++.Design.Patterns.and.Derivatives.Pricing

    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-...

    Sudoku Square — a New Design in Field .pdf

    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 ...

    Operating.System.Design.The.Xinu.Approach.2nd.Edition

    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 ...

    Apress.Practical.UI.Patterns.for.Design.Systems.1484249372.rar

    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 ...

    Proxy Pattern Informatization Research Based On SaaS

    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....

    design-pattern-for-oo-

    This project demonstrates examples in java and basic principles of 23 design patterns of OO programming.这个项目包含了面向对象23种设计模式的一些例子和基本原理说明。updates no finish yet还未完全更新...

    java学习总结-j2se Java学习资料

    designpattern 常见设计模式 sorts 基本排序算法 jvm jvm相关 letcode letcode题目解析 普通java项目手动引包: 1.下载需要的jar包,放入lib目录下 2.直接选择要导入的jar包 3.右键选择Build Path-->add to ...

    spring data

    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...

    DESIGN FOR EMBEDDED IMAGE PROCESSING ON FPGAS

    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 ...

Global site tag (gtag.js) - Google Analytics