
Designing with Objects
Object-Oriented Design Patterns Explained with Stories from Harry Potter
Avinash C. Kak(Author)
Wiley (Publisher)
Published on 6. February 2015
Book
Paperback/Softback
512 pages
978-1-118-58120-9 (ISBN)
Description
Here is a book that takes the sting out of learning object-oriented design patterns! Using vignettes from the fictional world of Harry Potter, author Avinash C. Kak provides a refreshing alternative to the typically abstract and dry object-oriented design literature.
Designing with Objects is unique. It explains design patterns using the short-story medium instead of sterile examples. It is the third volume in a trilogy by Avinash C. Kak, following Programming with Objects (Wiley, 2003) and Scripting with Objects (Wiley, 2008). Designing with Objects confronts how difficult it is for students to learn complex patterns based on conventional scenarios that they may not be able to relate to. In contrast, it shows that stories from the fictional world of Harry Potter provide highly relatable and engaging models. After explaining core notions in a pattern and its typical use in real-world applications, each chapter shows how a pattern can be mapped to a Harry Potter story. The next step is an explanation of the pattern through its Java implementation. The following patterns appear in three sections: Abstract Factory, Builder, Factory Method, Prototype, and Singleton; Adapter, Bridge, Composite, Decorator, Facade, Flyweight, and Proxy; and the Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor. For readers' use, Java code for each pattern is included in the book's companion website.
* All code examples in the book are available for download on a companion website with resources for readers and instructors.
* A refreshing alternative to the abstract and dry explanations of the object-oriented design patterns in much of the existing literature on the subject.
* In 24 chapters, Designing with Objects explains well-known design patterns by relating them to stories from the fictional Harry Potter series
More details
Edition
1. Auflage
Language
English
Place of publication
New York
United States
Target group
Professional and scholarly
College/higher education
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 254 mm
Width: 178 mm
Thickness: 27 mm
Weight
942 gr
ISBN-13
978-1-118-58120-9 (9781118581209)
Schweitzer Classification
Other editions
Additional editions

Avinash C. Kak
Designing with Objects
Object-Oriented Design Patterns Explained with Stories from Harry Potter
E-Book
12/2014
Wiley
€76.99
Available for download

Avinash C. Kak
Designing with Objects
Object-Oriented Design Patterns Explained with Stories from Harry Potter
E-Book
12/2014
Wiley
€74.99
Available for download
Person
Avinash C. Kak is Professor of Electrical and Computer Engineering at Purdue University. His areas of interest include software engineering, computer and network security, sensor networks, and computer vision (especially with camera networks). Professor Kak has been awarded numerous Best Teacher of the Year awards at Purdue University. He is the author of Scripting with Objects and Programming with Objects, both published by Wiley.
Content
PREFACE xiv
ACKNOWLEDGMENTS xix
1 Why Learn Design Patterns and Why Do So with Help from Harry Potter? 1
I CREATIONAL PATTERNS 19
2 Abstract Factory 21
3 Builder 38
4 Factory Method 59
5 Prototype 73
6 Singleton 90
II STRUCTURAL PATTERNS 99
7 Adapter 101
8 Bridge 122
9 Composite 142
10 Decorator 161
11 Facade 175
12 Flyweight 212
13 Proxy 230
III BEHAVIORAL PATTERNS 249
14 Chain of Responsibility 253
15 Command 272
16 Interpreter 290
17 Iterator 321
18 Mediator 353
19 Memento 371
20 Observer 386
21 State 405
22 Strategy 421
23 Template Method 437
24 Visitor 453
REFERENCES 473
INDEX 474