Description
Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language.
One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we’re attempting to solve.
Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we’re attempting to convey a way of structuring a solution in code form to others.
In this book we will explore applying both classical and modern design patterns to the JavaScript programming language.
Details
- Year:2014
- Total pages: 254
- Author: Addy Osmani
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
- Summary Table Of Design Pattern Categorization
- JavaScript Design Patterns
- JavaScript MV* Patterns
- Modern Modular JavaScript Design Patterns
- Design Patterns In jQuery
- jQuery Plugin Design Patterns
- JavaScript Namespacing Patterns
- Conclusions
- References
Read/ Download
License/Copyright
Learning JavaScript Design Patterns is released under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 unported license