![]()
内容推荐 你不想重新发明车轮(或者更差的是,没有充气车胎的轮子),所以从设计模式中寻求帮助——设计模式是过去人们面对同样的软件设计问题所得到的经验。有了设计模式,就可以利用其他人的实践经验的精华,因此省下的时间可以用在其他的事情上,如:更有挑战性的事情、更复杂的事情以及更有趣的事情。你想要学习: ·重要的模式 ·何时使用某个模式,为何使用该模式 ·如何在你自己的设计中马上采用这些模式 ·何时不该使用该模式(如何避免滥用模式) ·某个模式是依据哪些面向对象设计原理而设计出来的 更重要的是,你想在学习设计模式的过程中不感觉到昏昏欲睡。如果你曾经读过任何一本“深入浅出”(Head First)系列书籍,你就会知道能够从本书中得到的是:透过丰富的视觉效果让你的大脑充分地运作。Eric Freeman、Elisabeth Robson著的《深入浅出设计模式(影印版)(英文版)》的编写运用许多最新的研究,包括神经生物学、认知科学以及学习理论,这使得这本书能够将这些设计模式深深地烙印在你的脑海中,不容易被遗忘。你将会更擅长于解决软件设计中的问题,并能够和你的团队成员用模式的语言来更好地沟通。 目录 Intro 1 Welcome to Design Patterns: an introduction 2 Keeping your Objects in the know: the Observer Pattern 3 Decorating Objects: the Decorator Pattern 4 Baking with OO goodness: the Factory Pattern 5 One of a Kind Objects: the Singleton Pattern 6 Encapsulating Invocation: the Command Pattern 7 Being Adaptive: the Adapter and Facade Patterns 8 Encapsulating Algorithms: the Template Method Pattern 9 Well-managed Collections: the Iterator and Composite Patterns 10 The State of Things: the State Pattern 11 Controlling Object Access: the Proxy Pattern 12 Patterns of Patterns: Compound Patterns 13 Patterns in the Real World: Better Living with Patterns 14 Appendix: LeftoverPatterns
|