Designing with Objects: Object-Oriented Design Patterns Explained with Stories from Harry Potter Paperback
暫譯: 用物件設計:以哈利·波特故事解釋物件導向設計模式 平裝本
Avinash C. Kak
- 出版商: Wiley
- 出版日期: 2015-02-09
- 售價: $3,340
- 貴賓價: 9.5 折 $3,173
- 語言: 英文
- 頁數: 504
- 裝訂: Paperback
- ISBN: 1118581202
- ISBN-13: 9781118581209
-
相關分類:
Object-oriented、Design Pattern
海外代購書籍(需單獨結帳)
相關主題
商品描述
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
商品描述(中文翻譯)
這是一本讓學習物件導向設計模式變得輕鬆的書!作者 Avinash C. Kak 透過哈利·波特的虛構世界中的小故事,提供了一種清新且不同於傳統抽象且枯燥的物件導向設計文獻的替代方案。
《設計與物件》是獨特的。它使用短篇故事的形式來解釋設計模式,而不是使用無趣的範例。這是 Avinash C. Kak 三部曲中的第三部,前兩部為《物件程式設計》(Wiley, 2003)和《物件腳本設計》(Wiley, 2008)。《設計與物件》面對學生在學習基於傳統情境的複雜模式時所遇到的困難,這些情境可能讓他們無法產生共鳴。相對而言,它展示了哈利·波特虛構世界中的故事提供了高度相關且引人入勝的模型。在解釋模式中的核心概念及其在現實應用中的典型用法後,每一章都展示了如何將一個模式映射到哈利·波特的故事中。接下來是透過其 Java 實作來解釋該模式。以下模式分為三個部分:抽象工廠、建造者、工廠方法、原型和單例;適配器、橋接、組合、裝飾、外觀、享元和代理;以及責任鏈、命令、解釋器、迭代器、中介者、備忘錄、觀察者、狀態、策略、模板方法和訪問者。為了方便讀者使用,書中每個模式的 Java 代碼都包含在書籍的伴隨網站上。
- 書中的所有代碼範例均可在伴隨網站上下載,該網站提供讀者和講師的資源。
- 提供了一種清新的替代方案,對於現有文獻中物件導向設計模式的抽象和枯燥解釋。
- 在 24 章中,《設計與物件》通過將知名設計模式與哈利·波特系列的故事聯繫起來進行解釋。