Skip to main content

What Are Design Patterns? Why Use Them?

  • Chapter
  • First Online:
PHP Objects, Patterns, and Practice
  • 1325 Accesses

Abstract

Most problems we encounter as programmers have been handled time and again by others in our community. Design patterns can provide us with the means to mine that wisdom. Once a pattern becomes a common currency, it enriches our language, making it easy to share design ideas and their consequences. Design patterns simply distill common problems, define tested solutions, and describe likely outcomes. Many books and articles focus on the details of computer languages, the available functions, classes and methods. Pattern catalogs concentrate instead on how you can move on from these basics (the “what”) to an understanding of the problems and potential solutions in your projects (the “why” and “how”).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Matt Zandstra

About this chapter

Cite this chapter

Zandstra, M. (2013). What Are Design Patterns? Why Use Them?. In: PHP Objects, Patterns, and Practice. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6032-5_7

Download citation

Publish with us

Policies and ethics