本書以作者自身學習、使用模式和多年來為軟件開發人員(包括麵嚮對象技術老兵和新手)講授模式的經驗為基礎撰寫而成。首先概述瞭模式的基礎知識,以及麵嚮對象分析和設計在當代軟件開發中的重要性,隨後使用易懂的示例代碼闡明瞭12個最常用的模式,包括它們的基礎概念、優點、權衡取捨、實現技術以及需要避免的缺陷,使讀者能夠理解模式背後的基本原則和動機,理解為什麼它們會這樣運作。
本書適閤軟件開發專業人士,以及計算機專業、軟件工程專業的高校師生閱讀,也可作為麵嚮對象分析與設計課程的參考教材。
"One of the great things about the book is the way the authors explain concepts very simply using analogies rather than programming examples--this has been very inspiring for a product I'm working on: an audio-only introduction to OOP and software development." --Bruce Eckel "...I would expect that readers with a basic understanding of object-oriented programming and design would find this book useful, before approaching design patterns completely. Design Patterns Explained complements the existing design patterns texts and may perform a very useful role, fitting between introductory texts such as UML Distilled and the more advanced patterns books." --James Noble Leverage the quality and productivity benefits of patterns--without the complexity! Design Patterns Explained, Second Edition is the field's simplest, clearest, most practical introduction to patterns. Using dozens of updated Java examples, it shows programmers and architects exactly how to use patterns to design, develop, and deliver software far more effectively. You'll start with a complete overview of the fundamental principles of patterns, and the role of object-oriented analysis and design in contemporary software development. Then, using easy-to-understand sample code, Alan Shalloway and James Trott illuminate dozens of today's most useful patterns: their underlying concepts, advantages, tradeoffs, implementation techniques, and pitfalls to avoid. Many patterns are accompanied by UML diagrams. Building on their best-selling First Edition, Shalloway and Trott have thoroughly updated this book to reflect new software design trends, patterns, and implementation techniques. Reflecting extensive reader feedback, they have deepened and clarified coverage throughout, and reorganized content for even greater ease of understanding. New and revamped coverage in this edition includes * Better ways to start "thinking in patterns" * How design patterns can facilitate agile development using eXtreme Programming and other methods * How to use commonality and variability analysis to design application architectures * The key role of testing into a patterns-driven development process * How to use factories to instantiate and manage objects more effectively * The Object-Pool Pattern--a new pattern not identified by the "Gang of Four" * New study/practice questions at the end of every chapter Gentle yet thorough, this book assumes no patterns experience whatsoever. It's the ideal "first book" on patterns, and a perfect complement to Gamma's classic Design Patterns. If you're a programmer or architect who wants the clearest possible understanding of design patterns--or if you've struggled to make them work for you--read this book.
目前只看了一小部分, 但是已经发现很多翻译问题,摘录如下; 13.2 系统能够分析出和提取金属板材各部分的CAD/CAM描述; My system must be able to analyze and extract CAD/CAM descriptions of pieces of sheet metal. (分析出,为什么要多个'出') 最初应该关注的是金属板材零...
評分现在闭上眼睛能搞明白的几种模式: 工厂,工厂方法,抽象工厂,桥模式,装饰,facade,适配,观察者,策略,单例。 学习了一招厘清复杂需求头绪的方法,叫做“分析矩阵”,在书中第16章,将来工作中遇到这种时候可以试一试。 感觉这本书后面翻译的没有前面好,不知道是我看...
評分作者从面向对象到设计模式进行了关联解析。重点着笔两处: 1.模式可以解决一些传统oop不能很好处理的问题 2.模式如何连用,即模式的多组合使用 通过几个案例,从无模式的设计方案到有模式后的方案对比讲解了第一点。 同时过程中就介个常用的模式的串用进行了讲解,还给出了作者...
評分从一个一个实际问题着手引入一个个pattern的介绍和使用方法,比其他硬生生一个一个pattern列列说明条目的书好多了。
評分如果你认为GOF的经典名著《设计模式》太晦涩难懂,《Head First Design Pattern》又太不技术书籍了,那么这本《设计模式解析》非常适合你!这本书每章结束时都有小结和启发性复习题,可以帮助你更好地了解自学得如何了。本书只介绍了几种比较常用简单的设计模式,因而在学习过...
設計模式入門大力推薦!非常優秀的作品
评分1. Design to interface instead of implementation. 2. Prefer composition over inheritance. 3. Find out what varies and encapsulate it. Design is not a solution. Design is the expression of ideas that you model the problem in real world. Always think about commonality versus variability, dynamic versus static, redundancy, cohesion, coupling..
评分設計模式入門大力推薦!非常優秀的作品
评分告訴瞭我啥叫OO的必讀書
评分最近上下班路上都在看這本書,寫的很有意思,雖然節奏慢瞭點。我估計作者是個胖胖的大叔。。。哈哈哈
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 qciss.net All Rights Reserved. 小哈圖書下載中心 版权所有