Simon Timms

Mastering JavaScript Design Patterns

Applying design patterns to JavaScript code creates more reliable and maintainable code. In this book, you will explore different design patterns and learn where and how to implement them with the help of detailed examples.
In the first part of the book, we start off with an introduction to design patterns, and then move on to creating classical structures that are used to organize code. Next, we look at the creational, structural, and behavioral patterns. The second part of the book dives into patterns used for functional programming, model view patterns, patterns to build web applications, and messaging patterns. A number of very interesting advanced JavaScript patterns such as dependency injection and live postprocessing are also covered.
By the end of this book, you will learn to identify places where a pattern would improve code readability and maintainability.
332 printed pages
Publication year
Have you already read it? How did you like it?


  • Roberto Pereyrahas quotedlast year
    In such a simple application, there is no need to worry about the structure of code
  • agmarkinahas quoted2 years ago
    To view the previously submitted errata, go to
  • agmarkinahas quoted2 years ago

On the bookshelves

Drag & drop your files (not more than 5 at once)