Deze sectie met artikelen wordt niet gesyndiceerd op planet.smalltalk. Klik de feed icon rechts voor een feed of gebruik: http://feeds.feedburner.com/robvens/fWoP

There are no translations available.

Intent

We want to be able to grow our domain models. They must be infinitely scalable. Growing an already large model should not be more difficult than a small model. Change comes in two forms: changing existing functionality, or adding new. There should be as little difference between the two, regarding testing, validating, and modelling.

 

Also Known As

Example

 

Context

 

Problem

 

Solution

 

Don't change existing objects, not for changing existing functionality, nor to add new functionality. Existing test cases should not need to be modified. Functionality is modified by adding more objects. Since the model has been created using the Active/Passive pattern it is a loosely coupled model that does not hinder us in doing this.

Structure

Variants

Known Uses

 

Consequences

 

See Also



Add this article to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! TwitThis Joomla Free PHP

Trackback(0)

TrackBack URI for this entry

Comments (1)

Subscribe to this comment's feed
...
0
Hi Rob, a question regarding this.
Let's say we want to add functionality to our object. When applying this pattern, it means more objects through inheritance. But that would mean strong coupling (I don't want to use inheritance n concrete objects).
Do you know how to deal with this?
Eddy , 16 mai 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy