Design Patterns Java Workbook (Paperback)

Steven John Metsker

買這商品的人也買了...

商品描述

Finally, a companion to the seminal book, Design Patterns, 0-201-63361-2, that allows students to learn patterns using Java as opposed to C++, which was used in the original work. By working through the challenges presented in Design Patterns Java™ Workbook, the student will learn to recognize and apply a large portion of the accumulated wisdom of the software community. The author uses a workbook approach because he believes that students will not truly learn the material by reading it, but by “doing it.” The accompanying CD-ROM will include all code examples included in the book as well as some bonus code examples not found in the book. As the title suggests, all samples will be in Java.

Table of Contents

Foreword.
Preface.
1. Introduction to Patterns.

I. NTERFACE PATTERNS.


2. Introducing Interfaces.
3. Adapter.
4. FADE.
5. Composite.
6. Bridge.

II. Responsibility Patterns.


7. Introducing Responsibility.
8. SINGLETON.
9. OBSERVER.
10. MEDIATOR.
11. Proxy.
12. Chain of Responsibility.
13. FLYWEIGHT.

III. CONSTRUCTION PATTERNS.


14. Introducing Construction.
15. Builder.
16. FACTORY METHOD.
17. Abstract Factory.
18. Prototype.
19. Memento.

IV. OPERATION PATTERNS.


20. Introducing Operations.
21. TEMPLATE METHOD.
22. STATE.
23. STRATEGY.
24. Command.
25. INTERPRETER.

V. EXTENSION PATTERNS.


26. Introducing Extensions.
27. DECORATOR.
28. Iterator.
29. VISITOR.

VI. APPENDIXES.


Appendix A: Directions.
Appendix B: Solutions.
Appendix C: UML at a Glance.
Glossary.
Bibliography.
Index.

商品描述(中文翻譯)

終於,有了一本與開創性書籍《設計模式》(0-201-63361-2)相配套的書,讓學生能夠使用Java學習模式,而不是原作中使用的C++。通過在《設計模式Java™工作手冊》中解決的挑戰,學生將學會認識和應用軟體社群積累的大部分智慧。作者採用工作手冊的方式,因為他認為學生不會通過閱讀而真正學會材料,而是通過「實踐」。附帶的CD-ROM將包含書中的所有程式碼示例,以及一些書中未收錄的額外程式碼示例。正如標題所示,所有示例都將使用Java編寫。

目錄:
前言。
前言。
1. 模式介紹。
I. 介面模式。
2. 介紹介面。
3. 適配器。
4. 外觀。
5. 組合。
6. 橋接。

II. 責任模式。
7. 介紹責任。
8. 單例。
9. 觀察者。
10. 中介者。
11. 代理。
12. 責任鏈。
13. 享元。

III. 建構模式。
14. 介紹建構。
15. 建造者。
16. 工廠方法。
17. 抽象工廠。
18. 原型。
19. 備忘錄。

IV. 操作模式。
20. 介紹操作。
21. 模板方法。
22. 狀態。
23. 策略。
24. 命令。
25. 解譯器。

V. 擴展模式。
26. 介紹擴展。
27. 裝飾者。
28. 迭代器。
29. 訪問者。

VI. 附錄。
附錄A:指南。
附錄B:解決方案。
附錄C:UML一覽。
詞彙表。
參考文獻。
索引。