Learning JavaScript Design Patterns: A JavaScript and jQuery Developer's Guide 1st Edition
| Addy Osmani (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
With Learning JavaScript Design Patterns, you’ll learn how to write beautiful, structured, and maintainable JavaScript by applying classical and modern design patterns to the language. If you want to keep your code efficient, more manageable, and up-to-date with the latest best practices, this book is for you.
Explore many popular design patterns, including Modules, Observers, Facades, and Mediators. Learn how modern architectural patterns—such as MVC, MVP, and MVVM—are useful from the perspective of a modern web application developer. This book also walks experienced JavaScript developers through modern module formats, how to namespace code effectively, and other essential topics.
- Learn the structure of design patterns and how they are written
- Understand different pattern categories, including creational, structural, and behavioral
- Walk through more than 20 classical and modern design patterns in JavaScript
- Use several options for writing modular code—including the Module pattern, Asyncronous Module Definition (AMD), and CommonJS
- Discover design patterns implemented in the jQuery library
- Learn popular design patterns for writing maintainable jQuery plug-ins
"This book should be in every JavaScript developer’s hands. It’s the go-to book on JavaScript patterns that will be read and referenced many times in the future."—Andrée Hansson, Lead Front-End Developer, presis!
Frequently bought together
Customers who viewed this item also viewed
From the brand
-
O'Reilly Media
Your partner in learning
-
Editorial Reviews
About the Author
Addy Osmani is a Developer Programs Engineer at Google, working on tools for improving how developers create applications. He's also a member of the jQuery team where he assists with documentation and our learning site project. Some of his other OS work has included contributions to Modernizr and other similar projects. Personal projects include TodoMVC, which helps developers compare JavaScript MVC frameworks and jQuery UI Bootstrap. He also wrote 'Developing Backbone.js Applications' and 'Learning JavaScript Design Patterns' and occasionally tech review books like 'JavaScript Web Applications'. His personal blog is addyosmani.com/blog/.
Product details
- ASIN : 1449331815
- Publisher : O'Reilly Media; 1st edition (August 30, 2012)
- Language : English
- Paperback : 254 pages
- ISBN-10 : 9781449331818
- ISBN-13 : 978-1449331818
- Item Weight : 14.6 ounces
- Dimensions : 7 x 0.79 x 9.19 inches
- Best Sellers Rank: #308,625 in Books (See Top 100 in Books)
- #113 in JavaScript Programming (Books)
- #234 in Software Design & Engineering
- #542 in Software Development (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
When web applications move beyond trivial into complex, object oriented programming can provide methods to organize and structure code. JavaScript design patterns can provide reuse-ability of code. Abstraction and encapsulation of code are two advantages to using design patterns in JavaScript. Using object oriented code produces a more modular code that is less likely to clash with other sections of code in the project. Modularity and encapsulation help to prevent an application from falling prey to becoming a mass of spaghetti code that is hard to debug and maintain.
I enjoyed the book's format. Early on the author explains design patterns in a historical context with code examples that relate to Javascript. Later, models and various frameworks are examined with links to additonal resources. The design patterns outlined in chapter 9 receive additonal examples in the chapter on jQuery. I would recommend the book for intermediate to advanced JavaScript coders. The material will not be useful for those with little experience or new to JavaScript.
Disclosure: I received a free e-book copy for review purposes.
Top reviews from other countries
I particularly liked the extensive section on MVC variations and implementations through different JS frameworks.
Io conoscevo già quasi tutti i pattern ma non li avevo mai usati per JavaScript, o meglio alcuni li usavo ma non me ne rendevo conto, essendo abituato ad applicarli a linguaggi OO.
E' ovvio che anche se il JavaScript non è un linguaggio complesso è necessario conoscerlo per capire il funzionamento dei Pattern, ma non ne è richiesta una conoscenza avanzata.
Grande Addy
P.S. Sul suo sito c'è la versione HTML limitata ma comunque potete farvi una idea del libro, io ho comprato il libro dopo aver letto versione in HTML del suo sito (il libro contiene parti aggiunrive)
L'ho trovato molto utile da utilizzare ogni volta che si ha un qualche dubbio relativo al linguaggio.
Approfondita la sezione sui pattern MVC molto in voga nelle applicazioni web odierne.
Consigliato.
Just skip the jQuery part, and save the design part.








