JavaScript Patterns

4.2 avg 1631 votes 74 reviews 2342 want to read

About this book

What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal—whether you're using JavaScript to write a client-side, server-side, or desktop application.Written by JavaScript expert Stoyan Stefanov—Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool—JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and moreLearn why literal notation patterns are simpler alternatives to constructor functionsDiscover different ways to define a function in JavaScriptCreate objects that go beyond the basic patterns of using object literals and constructor functionsLearn the options available for code reuse and inheritance in JavaScriptStudy sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and moreExamine patterns that apply specifically to the client-side browser environment

4.2 ★★★★☆ average of 4 sources · 1631 votes
Open Library 3.8 5
1★2★3★4★5★
Goodreads 4.2 1631
1★2★3★4★5★

74 reviews · 2,342 want to read · 225 reading now

Apple Books 4.0 26
Hardcover 4.1 16

Reader Profile

Enjoyment83Difficulty60Influence0Popularity43Classic16

4.2/5 · 1631 readers · 240 pages · ≈ 4 h 27 m · Moderate

How long does it take to read JavaScript Patterns?

About ≈ 4 h 27 m — 240 pages, assuming roughly 250 words per page at 225 words per minute.Typical novel≈ 5 h 56 mJavaScript Patterns~4 h 27 m

How many pages is JavaScript Patterns?

240 pages in its most-read edition.Typical novel320JavaScript Patterns240

Is JavaScript Patterns in the public domain?

No — it is still under copyright.

Who wrote JavaScript Patterns?

Stoyan Stefanov.

JavaScript Patterns ★ 4.2 · 4 sources Check price →