Friday 10 August 2012

Cocoa Design Patterns


Cocoa Design Patterns
Erik M. Buck Donald A. Yacktman

Design patterns describe high quality practical solutions to recurring programming prob- lems. Design patterns don’t require amazing programming tricks.They’re a toolbox of reusable solutions and best practices that have been refined over many years into a suc- cinct format.They provide a vocabulary, or shorthand, that programmers can use when explaining complex software to each other. Design patterns don’t describe specific algo- rithms or data structures like linked lists or variable length arrays, which are traditionally implemented in individual classes.The design patterns in this book don’t describe specif- ic designs for applications even though examples are provided.What the patterns do pro- vide is a coherent map that leads you through the design of Cocoa itself. Patterns show how and why some of the best and most reusable software ever created was designed the way it was.

At a minimum, design patterns contain four essential elements:
The pattern name
A brief description of the motivation for the pattern or the problem solved by the pattern
A detailed description of the pattern and examples in Cocoa The consequences of using the pattern
Parts II, III, and IV of this book contain a catalog of design patterns. Each chapter in the pattern catalog introduces a design pattern and provides the essential information you need to recognize and reuse the pattern.

The pattern’s name helps developers communicate efficiently.A shared vocabulary of pattern names is invaluable when explaining a system to colleagues or writing design documentation. Named patterns clarify thought, and the implications of a design—even the rationale behind a design—can be communicated with just a few words.
Programmers familiar with patterns immediately infer the uses and limitations of objects composing a named pattern as well as the overall design employed and the consequences of that design.


Guiding Principles of Design
All of the design patterns described in this book have several properties in common. In each case, the goal of the pattern is to solve a problem in a general, reusable way. Several guiding principles of design help ensure that the patterns are flexible and applicable in many contexts.The same strategies that are applied to the design of individual objects are applied to design patterns as well. In fact, patterns that involve many objects benefit even more from good object-oriented design than simpler systems. One reason that patterns exist is to help make sure that productivity gained from reusing the patterns exceeds the productivity gained from using individual objects—the sum is greater than the parts.

Download Link.





No comments:

Post a Comment