7. Implementing Collaboration Pairs

Don’t learn the tricks of the trade. Learn the trade.


Nuts and Bolts

This chapter shows how to translate the collaboration patterns into programming code in the Java and Squeak Smalltalk languages. The next chapter shows how to build on this code to implement business rules. While there are many ways to implement an object model, and many styles for coding objects, this chapter shows the advantages of using a consistent approach. By consistently using collaboration patterns and consistently organizing business rules into property and collaboration rules, it is rather straightforward to construct a coding process for implementing the patterns and rules.

The benefits of using a consistent collaboration-based ...

Get Streamlined Object Modeling: Patterns, Rules, and Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.