design_patterns's profile picture. Best design patterns resource on the web. All design patterns with simple and clear descriptions.

Design Patterns

@design_patterns

Best design patterns resource on the web. All design patterns with simple and clear descriptions.

Memento Design Pattern — http://bit.ly/rJnnY


The Memento captures and externalizes an object's internal state so that the object can later be restored to that state.


Null Object Design Pattern — http://bit.ly/awKwI


Observer design pattern: http://bit.ly/Oztgm


The Observer defines a one-to-many relationship so that when one object changes state, the others are notified and updated automatically.


State Design Pattern: http://bit.ly/s7Th


The State pattern allows an object to change its behavior when its internal state changes.


Strategy Design Pattern — Define a family of algorithms, encapsulate each one, and make them interchangeable — http://bit.ly/dSF4x


Strategy lets the algorithm vary independently from clients that use it Capture the abstraction in an interface, bury implementation details


Template Method Design Pattern — http://bit.ly/LbpYq


Template Method defines a skeleton of an algorithm in an operation, and defers some steps to subclasses.


Visitor Design Pattern — http://bit.ly/dFa3a


Visitor pattern represents operation to be performed on elements of an object structure without changing the classes on which it operates.


此帐户目前未关注任何人
Loading...

Something went wrong.


Something went wrong.