Composite Class

HARMES, Ross and DIAZ, Dustin (eds.), 2008. The Composite Pattern. In: , Pro JavaScript Design Patterns. Online. Berkeley, CA: Apress. p. 125–140. [Accessed 15 June 2022]. ISBN 978-1-4302-0496-1. doi

> The composite is a design pattern that is tailor-made for creating dynamic user interfaces on the Web. Using this pattern, you can initiate complex or recursive Behaviors on many objects with a single command. This allows your glue code to be simpler and easier to maintain, while delegating the complex behaviors to the objects.