Learning JavaScript Design Patterns

Learning JavaScript Design Patterns

“Essential JavaScript Design Patterns” is a free online book by Addy Osmani. Improve your knowledge of design patterns and the usefulness of their application to JavaScript.


In this book, we will take a look at a number of popular JavaScript design patterns and explore why certain patterns may be more suitable for your projects than others. Remember that patterns can be applied not just to vanilla JavaScript, but also to abstracted libraries such as jQuery or Dojo as well. Before we begin, let’s look at the exact definition of a ‘pattern’ in software design.

Table of Contents

  • Introduction
  • What is a Pattern?
  • ‘Pattern’-ity Testing, Proto-Patterns & The Rule Of Three
  • The Structure Of A Design Pattern
  • Writing Design Patterns
  • Anti-Patterns
  • Categories Of Design Pattern
  • An Introduction To Design Patterns
  • Patterns In Greater Detail
  • Examples Of Design Patterns In jQuery
  • Modular JavaScript Design Patterns
  • Bonus: jQuery Plugin Design Patterns

Book Details

Author(s): Addy Osmani
Publisher: O’Reilly Media
Format(s): HTML
Link: Read online.

One Response to “Learning JavaScript Design Patterns”

Leave a Reply