Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon Sold by: LosAngelesBookStore
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: GREENWORLD BOOKS Sold by: GREENWORLD BOOKS
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
JavaScript Patterns: Build Better Applications with Coding and Design Patterns
Purchase options and add-ons
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 more
- Learn why literal notation patterns are simpler alternatives to constructor functions
- Discover different ways to define a function in JavaScript
- Create objects that go beyond the basic patterns of using object literals and constructor functions
- Learn the options available for code reuse and inheritance in JavaScript
- Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more
- Examine patterns that apply specifically to the client-side browser environment
- ISBN-109780596806750
- ISBN-13978-0596806750
- Edition1st
- PublisherO'Reilly Media
- Publication dateOctober 26, 2010
- LanguageEnglish
- Dimensions7 x 0.6 x 9.19 inches
- Print length232 pages
Frequently bought together

Similar items that deliver to you quickly
- Learning JavaScript Design Patterns: A JavaScript and React Developer's GuidePaperbackFREE Shipping by AmazonGet it as soon as Sunday, Oct 4Only 20 left in stock (more on the way).
- You Don't Know JS Yet: Get StartedPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Oct 4
- Python Object-Oriented Programming: Build robust and maintainable object-oriented Python applications and librariesPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Oct 4Only 1 left in stock - order soon.
- TypeScript 5 Design Patterns and Best Practices: Build clean and scalable apps with proven patterns and expert insightsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Oct 4
- Ultimate C# Design Patterns: Master Creational, Structural, Behavioral, SOLID, Dependency Injection, and Enterprise Architecture Patterns in Modern C# (English Edition)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Oct 4
- Kotlin Design Patterns and Best Practices: Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservicesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Oct 4
Customers also bought or read
- High Performance JavaScript (Build Faster Web Application Interfaces)
Paperback$17.71$17.71Delivery Sun, Oct 4 - JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language
Paperback$38.99$38.99FREE delivery Oct 10 - 16 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$23.97$23.97Delivery Sun, Oct 4 - Learning JavaScript Design Patterns: A JavaScript and React Developer's Guide
Paperback$38.00$38.00FREE delivery Sun, Oct 4
From the brand
-
Explore JavaScript resources
-
Explore TypeScript
-
Node.js
-
More from O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Editorial Reviews
About the Author
Product details
- ASIN : 0596806752
- Publisher : O'Reilly Media
- Publication date : October 26, 2010
- Edition : 1st
- Language : English
- Print length : 232 pages
- ISBN-10 : 9780596806750
- ISBN-13 : 978-0596806750
- Item Weight : 2.31 pounds
- Dimensions : 7 x 0.6 x 9.19 inches
- Best Sellers Rank: #1,108,919 in Books (See Top 100 in Books)
- #205 in JavaScript Programming (Books)
- #1,897 in Computer Programming Languages
- #2,984 in Programming Languages (Books)
- Customer Reviews:
About the author

Stoyan Stefanov leads a double life as a musician and a technologist in Los Angeles. In technology, he has twenty years of experience at the forefront of web programming and web performance in companies including Facebook/Meta/Instagram, Yahoo!, and SAP. As a thought leader and inventor, he has published about a dozen programming books and spoken at countless conferences around the world.
During his tech career, Stoyan has also played in several rock bands as a guitarist and songwriter, but it wasn't until Fall 2016 that he got serious about the art and craft of music. He started taking classes at Santa Monica College and the University of California, Los Angeles, in music theory, composition, conducting, orchestration, guitar, piano, viola, and more. Always curious, Stoyan is enchanted by anything and everything to do with music, from soldering audio gear to composing concert music, from collaborating with musicians on a song to recording, mixing, and releasing it. He has a single-item bucket list: to write orchestral music worthy of performance by the Los Angeles Philharmonic.
At the intersection of technology and music, Stoyan created and maintains OnlineMusicTools and SiteReadOrg: free websites for learning and improving the musicianship and theory skills of music students and practitioners.
















