Addy Osmani has released a free ebook about JavaScript Design Patterns. Notice that the focus is on beginners.
This book walks through the classical Gang of Four Design patterns(and some others…) but uses JavaScript for all the samples through the book. Even if you already know these Design Patterns by head, I can still recommend the reading because it helps to improve your JavaScript skills(It certainly helped me!).
I especially liked the second part of the book where samples are shown based on jQuery.
The content outline:
- 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
- An Introduction To Design Patterns
- Patterns In Greater Detail
- Examples Of Design Patterns In jQuery
- Bonus: jQuery Plugin Design Patterns
- Conclusions
- References