Chapter 7. Delegate Pattern
One of the strongest features of Object Oriented Programming is its dynamic nature. With today's push of more available features, mash-ups and constantly evolving standards, dynamic code is gaining a whole new meaning. Whether its new file storage or streaming standards, a new social networking site or a fresh take at some of the existing Internet pioneer's APIs, web programming continues to mutate. Legacy ways of handling decisions are no longer effective when confronted with the enormous number of options available today. The Delegate Design Pattern is made for taking complex decisions out of the loop by moving smart objects into their place.
Name: DelegateThe Delegate Design Pattern removes decisions and complex functionality from the core object by distributing or delegating them to other objects. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access