Design Patterns Java Workbook (Paperback)
暫譯: Java 設計模式實作手冊 (平裝本)

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.

商品描述(中文翻譯)

最後,這本書是經典著作《設計模式》(Design Patterns,ISBN: 0-201-63361-2)的伴侶書,讓學生能夠使用 Java 學習模式,而不是原著中使用的 C++。透過《設計模式 Java™ 工作簿》(Design Patterns Java™ Workbook)中提出的挑戰,學生將學會識別和應用軟體社群積累的大量智慧。作者採用工作簿的方式,因為他相信學生不會僅僅通過閱讀來真正學習材料,而是通過“實踐”。隨書附贈的 CD-ROM 將包含書中所有的程式碼範例,以及一些書中未包含的額外程式碼範例。正如書名所示,所有範例將使用 Java。

目錄

前言。
序言。
1. 模式介紹。

I. 介面模式。

2. 介面的介紹。
3. 適配器(Adapter)。
4. 外觀(FADE)。
5. 組合(Composite)。
6. 橋接(Bridge)。

II. 責任模式。

7. 責任的介紹。
8. 單例(SINGLETON)。
9. 觀察者(OBSERVER)。
10. 中介者(MEDIATOR)。
11. 代理(Proxy)。
12. 責任鏈(Chain of Responsibility)。
13. 輕量級(FLYWEIGHT)。

III. 建構模式。

14. 建構的介紹。
15. 建造者(Builder)。
16. 工廠方法(FACTORY METHOD)。
17. 抽象工廠(Abstract Factory)。
18. 原型(Prototype)。
19. 備忘錄(Memento)。

IV. 操作模式。

20. 操作的介紹。
21. 模板方法(TEMPLATE METHOD)。
22. 狀態(STATE)。
23. 策略(STRATEGY)。
24. 命令(Command)。
25. 解釋器(INTERPRETER)。

V. 擴展模式。

26. 擴展的介紹。
27. 裝飾者(DECORATOR)。
28. 迭代器(Iterator)。
29. 訪問者(VISITOR)。

VI. 附錄。

附錄 A: 指導。
附錄 B: 解答。
附錄 C: UML 概覽。
術語表。
參考文獻。
索引。