Windows IT Pro
Windows IT Library
  - Advertise        
Windows IT Pro Logo

  Home  |   Books  |   Chapters  |   Topics  |   Authors  |   Book Reviews  |   Whitepapers  |   About Us  |   Contact Us

search for  on    power search   help
 






Design patterns
View the book table of contents
Author: Dagfinn Reiersol
Published: June 2007
Copyright: 2007
Publisher: Manning Publications
 


Much of the literature on software design nowadays focuses on design patterns. Design patterns are an attempt to make the principles of good object-oriented design more explicit. Patterns are defined as "a recurrent solution to a problem." But using them is not as simple as following a cookbook recipe. Applying a pattern can be daunting, since the description in a book is usually somewhat abstract and you have to figure out how exactly to use it in a situation that is different from the example given in the book.

Chapter Contents
  • 7.1 STRATEGY
    • "Hello world" using Strategy
    • 7.1.2 How Strategy is useful
  • 7.2 ADAPTER
    • 7.2.1 Adapter for beginners
    • 7.2.2 Making one template engine look like another
    • 7.2.3 Adapters with multiple classes
    • 7.2.4 Adapting to a generic interface
  • 7.3 DECORATOR
    • 7.3.1 Resource Decorator
    • 7.3.2 Decorating and redecorating
  • 7.4 NULL OBJECT
    • 7.4.1 Mixing dark and bright lights
    • 7.4.2 Null Strategy objects
  • 7.5 ITERATOR
    • 7.5.1 How iterators work
    • 7.5.2 Good reasons to use iterators
    • 7.5.3 Iterators versus plain arrays
    • 7.5.4 SPL iterators
    • 7.5.5 How SPL helps us solve the iterator/array conflict
  • 7.6 COMPOSITE
    • 7.6.1 Implementing a menu as a Composite
    • 7.6.2 The basics
    • 7.6.3 A fluent interface
    • 7.6.4 Recursive processing
    • 7.6.5 Is this inefficient?
  • 7.7 SUMMARY

Pages: 1, 2

go to page 1



ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing