Composites

In this chapter we will first look at how Composites are built and then move on to the semantics of different standard Composite sub-types, namely EntityComposite and ServiceComposite.

But first let's recap the principles of Composite Oriented Programming (COP) principles.

Composition


Composition is at the heart of COP, and primarily refers to the ability to assemble (compose) objects from smaller pieces, called Fragments. Such small pieces will enable re-use to a whole new level, typically from larger subsystems with all-or-nothing approach, possibly with complicated hooks to customize its behavior, to small libraries of useful pieces that can be composed to either standard setups or used in custom ways.
Powered by SiteVisionexternal link.