本书以作者自身学习、使用模式和多年来为软件开发人员(包括面向对象技术老兵和新手)讲授模式的经验为基础撰写而成。首先概述了模式的基础知识,以及面向对象分析和设计在当代软件开发中的重要性,随后使用易懂的示例代码阐明了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.
重口味pattern书,提倡一上来就用pattern思考。不对我的胃口。我还是喜欢gof和posa。
评分如果你认为GOF的经典名著《设计模式》太晦涩难懂,《Head First Design Pattern》又太不技术书籍了,那么这本《设计模式解析》非常适合你!这本书每章结束时都有小结和启发性复习题,可以帮助你更好地了解自学得如何了。本书只介绍了几种比较常用简单的设计模式,因而在学习过...
评分这本书和head first design pattern一样,都是入门书. 跟hfdp比较,它的优点在于作者从自己经验出发,所取的例子基本源于自己的项目,而不是为了说明设计模式而故意设计出来的例子. 这一点,我觉得很重要,它让我们对设计模式的应用有更好的感觉.也许看了head first,我们能知道设计...
评分遇到这本书是一个偶然的经历,但是很幸运他没有从我的指尖溜走。这本书,不是教科书,是思想的演进,是思想的讲述。很多人,在学习编程的时候,只是停留在传统教课书的水平,虽然做了很多年,但是无非就是理解了更多的API或者封装库,但是自己在编程的时候,思维水平仍...
评分遇到这本书是一个偶然的经历,但是很幸运他没有从我的指尖溜走。这本书,不是教科书,是思想的演进,是思想的讲述。很多人,在学习编程的时候,只是停留在传统教课书的水平,虽然做了很多年,但是无非就是理解了更多的API或者封装库,但是自己在编程的时候,思维水平仍...
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..
评分这本书是在看 《设计模式》的书评时候偶然看到的,就如简介说的一样,作者从自身经历出发,介绍了几种常见的设计模式,清晰的说明了每个设计模式背后的意图是什么。看的时候建议一章章连续性不间断看完。
评分I think this book deserves a six star remark!
评分很推荐软件菜鸟们读的一本书,读完后一者对oop有了新一阶层的理解,另者对于四个典型设计模式有了很深的感触。上手之后两天内就读完了。有种娓娓道来之感。毫无压力。
评分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..
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有