Learning JavaScript Design Patterns

With this digital Early Release edition of Learning JavaScript Design Patterns, you get the entire book bundle in its earliest form – the author’s raw and unedited content – so you can take advantage of this content long before the book’s official release. You’ll also receive updates when significant changes are made, as well as the final ebook version.

If you want to write beautiful, structured, and maintainable JavaScript code, this guide shows you how to apply both classical and modern design patterns to the language. The patterns in this book provide reusable code solutions to common problems in software design, and give you a shared vocabulary for describing solutions to others.

You’ll explore several popular design patterns in plain JavaScript as well as jQuery and other abstracted libraries. If you’re familiar with concepts such as closures and prototypal inheritance, you’ll be able to determine why some patterns may be more suitable for your projects than others.

  • Learn the structure of design patterns and how they’re written
  • Examine basic pattern categories: creational, structural, behavioral, and anti-patterns
  • Get the basics of 15 JavaScript implementations of classical and modern design patterns
  • Dive into several popular JavaScript patterns in greater detail—including some less frequently used
  • Discover what design patterns look like when implemented with jQuery
  • Explore three formats for writing modular JavaScript: AMD, CommonJS, and Harmony
  • Learn popular design patterns for jQuery plugins

Table of Contents
1. Introduction
2. What is a Pattern?
3. ‘Pattern’-ity Testing, Proto-Patterns & The Rule Of Three
4. The Structure Of A Design Pattern
5. Writing Design Patterns
6. Anti-Patterns
7. Categories Of Design Pattern
8. Design Pattern Categorization
9. JavaScript Design Patterns
10. Flyweight
11. MV* Patterns
12. Design Patterns in jQuery Core
13. Modern Modular JavaScript Design Patterns
14. Bonus: jQuery Plugin Design Patterns
15. Conclusions
16. References

Book Details

  • Paperback: 150 pages
  • Publisher: O’Reilly Media (August 2012)
  • Language: English
  • ISBN-10: 1449331815
  • ISBN-13: 978-1449331818
Download [3.9 MiB]

You may also like...

Leave a Reply