Chapter 8 Image

Structural Patterns

You have inadvertently witnessed the use of structure among your objects via interface inheritance and object composition, which allowed objects to possess the ability to obtain new functionality from other objects. In essence, these enabled an object's power. Continuing with this thought, the weaker the structure, or the flimsier the support, the less empowered the objects.

Consider how reusable a Concrete class is without any inherited interface. The structure that utilizes this object is forced to bind itself to a single implementation and not to that of an interface. Of course, this would be unwise if ...

Get AdvancED ActionScript 3.0: Design Patterns 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.