If you want to write beautiful structured & maintainable Java Script code this guide shows you how to apply both classical & modern design patterns to the language. The patterns in this book provide reusable code solutions to common problems in software design & give you a shared vocabulary for describing solutions to others. You'll explore several popular design patterns in plain Java Script as well as j Query & other abstracted libraries. If you're familiar with concepts such as closures & 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 & how they're written Examine basic pattern categories: creational structural behavioral & anti-patterns Get the basics of 15 Java Script implementations of classical & modern design patterns Dive into several popular Java Script patterns in greater detail
- including some less frequently used Discover what design patterns look like when implemented with j Query Explore three formats for writing modular Java Script: AMD Common JS & Harmony Learn popular design patterns for j Query plugins