Skip to content

Behavioral Pattern

August 7, 2009

Behavioral pattern answers the question “How Objects are going to interact with each other with the classes loosely coupled?”. By doing so, these patterns increase flexibility in carrying out this communication. This pattern provides a sequential way to access the collection of objects, also deals with encapsulating algorithm. If any one object in the collection of object changes its state, all its dependent object are updated automatically. Each objects describes the types of object it can handle and way to pass the objects. Every class is serialized since the object will carry the data in streams.

Some of the structural pattern are:
Chain of responsibility, Command, interpretor, iterator, mediator, Momento, Observer,  intercom, state, strategy, specification, Visitor, Hierarchial visitor, Single serving visitor.
No comments yet

Leave a Reply

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

You are commenting using your 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: