Võ Văn Hải's blog

Chỉ có một điều tuyệt đối đó là mọi thứ đều tương đối…

Design Patterns

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.
Architect Christopher Alexander describes a pattern as “a recurring solution to a common problem in a given context and system of forces.”

  • The term context refers to the set of conditions/situations in which a given pattern is applicable.
  • The term  system of forces refers to the set of constraints that occur in the specific context.

Design patterns are not theoretical constructs. A design pattern can be seen as an encapsulation of a reusable solution that has been applied successfully to solve a common design problem.
Though design patterns refer to the best known ways of solving problems, not all best practices in problem resolution are considered as patterns. A best practice must satisfy the Rule of Three to be treated as a design pattern.
Design patterns do not provide solutions to every problem found in real-world software design and development. Design patterns are about providing elegant, reusable solutions to commonly encountered software development problems in a particular context.


Môn học Design Patterns

Study guide: download

Slides:

    1. Software Architecture into, Design Patterns intro and UML intro;

    2. Basic Patterns;

    3. Creational Patterns;

    4. Collectional Patterns;

    5. Structural Patterns;

    6. Behavioral Patterns;

Examples:

Exercises:

Lab reports:

1. Lab report 1: Đọc hiểu ví dụ “Online Shopping UML Examples” sau đó viết lại bằng Việt ngữ, vẽ lại 1 số mô hình trong ví dụ này. Hạn chót nộp bài: 11/06/2011.

Assignments:


Các vấn đề liên quan:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 230 other followers