Preface
- A word from the author
- A word from the illustrator
About this book
- Who is this book for?
- Independent chapters
- The children’s section
- Implementation examples
- UML diagrams
- Answers for developers
About the author and the illustrator
Thanks to
Template method
- “Gepetto does the show”
- The analogy with the comic strip
- Example of implementation
- UML modeling
- Answers for developers
- Inversion of control
Iterator
- “Inventory day”
- The analogy with the comic strip
- Example of implementation
- UML modeling
- Answers for developers
- SPL iterators
Command
- “Under the door of the dressing room”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
- The MacroCommand
Interpreter
- “Gepetto’s sign language”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
- BNF and EBNF
Strategy
- “No matter the accessory!”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
- Null Object
Visitor
- “Visiting the animal enclosures”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
- Open-closed principle
Chain of responsibilities
- “Who’s next?”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
Observer
- “Torp is showing off …“
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
- Dependency Inversion Principle
Mediator
- “Gepetto coordinates the opening of the park”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
State
- “The circus ring in all its states”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
Memento
- “Photo shoot for Solid”
- The analogy with the comic strip
- Example of implementation
- UML Modeling
- Answers for developers
Appendices
- The Hollywood principle
- Iterator to filter on rewards
- Example of implementation for the “Chain” expression