JavaScript Patterns and over 1.5 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £4.50 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading JavaScript Patterns on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

JavaScript Patterns [Paperback]

Stoyan Stefanov
4.5 out of 5 stars  See all reviews (12 customer reviews)
RRP: £22.99
Price: £14.71 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £8.28 (36%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 6 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Friday, 24 May? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £11.03  
Paperback £14.71  
Trade In this Item for up to £4.50
Trade in JavaScript Patterns for an Amazon.co.uk gift card of up to £4.50, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

28 Sep 2010 0596806752 978-0596806750 1

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 writing a client-side, server-side, or desktop application with JavaScript.

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

Frequently Bought Together

JavaScript Patterns + JavaScript: The Good Parts + JavaScript: The Definitive Guide (Definitive Guides)
Price For All Three: £54.06

Buy the selected items together


Product details

  • Paperback: 236 pages
  • Publisher: O'Reilly Media; 1 edition (28 Sep 2010)
  • Language: English
  • ISBN-10: 0596806752
  • ISBN-13: 978-0596806750
  • Product Dimensions: 17.8 x 1.2 x 23.3 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Bestsellers Rank: 18,153 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Book Description

Build Better Applications with Coding and Design Patterns

About the Author

Stoyan Stefanov is a Yahoo! web developer, Zend Certified Engineer, and an author, contributor, and tech reviewer of various O'Reilly books. He speaks regularly about web development topics at conferences and on his blog at www.phpied.com. Stoyan is the creator of the smush.it image optimization tool and architect of Yahoo's performance optimization tool YSlow 2.0.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4.5 out of 5 stars
4.5 out of 5 stars
Most Helpful Customer Reviews
10 of 10 people found the following review helpful
5.0 out of 5 stars Great modern JS overview 29 April 2011
Format:Paperback
With so much online content offering JavaScript tutorials you may ask why you'd want a book like this? The simple reason is that this book offers a fantastic, succinct and complete overview of *MODERN* JavaScript design patterns, methodologies and best practices. The book itself is only 230 odd pages long, but in this covers pretty much everything you need to know about writing modern JS for both in and out of the browser. Best practices are discussed and clearly demonstrated, along with 'antipatterns' or common mistakes you should avoid.
The book doesn't cover the basics (this isn't a book for the complete beginner, but aimed at someone with previous JS experience), but its eight chapters excel at demonstrating all aspects of modern day javascript. The chapter on patterns discusses the namespaces pattern, module pattern (increasingly common in todays web apps), sandbox pattern, the chaining pattern and much more. It does this in the clearest and most concise method I have seen.

I read this book in a day and will no doubt keep going back to it as a reference. a fantastic resource that i'd highly recommend.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars Start using JavaScript! 25 May 2011
Format:Paperback
For once there's a JavaScript book that demonstrates good coding practice using the world's most misunderstood language. Okay, this book isn't for those who are beginning JavaScript but once you know the basics this book will demonstrate how to write efficient, eloquent and effective code. The best thing about this book is that Stefanov devotes a chapter the use of Design Patterns with JavaScript, something which most developers dismiss with this language because JavaScript is "classless". Stefanov also gives good advice on performance related issues, what features of JavaScript you should never use (eval for instance) as well as code structure. I found this book to be one of the best I've read on JavaScript, just make sure you understand the fundamentals of the language and have some practical experience before pulling back the cover.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Clear and Useful 1 Feb 2012
By MrFish
Format:Paperback
I purchased this book after watching plenty of Doug Crockford videos on Advanced Javascript Programming. I also purchased Javascript: The Good Parts (at the same time).
Of the two books I found this the more useful, they contains a lot of similar information but this book seems to be more appropriate for the hands on programmer. Easy to read and relevant.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
5.0 out of 5 stars great book for a new/intermediate javascript pattern
if you have read the definitive guide and Crockford, this book should be next on your list. I have been coding in javascript now for about 18 months or so and this book has been... Read more
Published 7 months ago by Paul Ryan
5.0 out of 5 stars Writing solid JavaScript, properly explained
Master and beginner JavaScript developers alike have a reason to thank Stoyan Stefanov- he did a fantastic job surveying the JavaScript landscape and mapping out key strategies for... Read more
Published 7 months ago by Allen Manning
5.0 out of 5 stars Very good book about advanced JavaScript
This book is not for newbies. It successfully translates the most popular programming patterns to JavaScript. Read more
Published 9 months ago by Marcin Dancewicz
4.0 out of 5 stars A must for any serious JS developer
This book goes into the dynamic nature of the language and teaches methodologies and routines to write code that may be reused and extended, and is understandable to other... Read more
Published 10 months ago by Sergio P
4.0 out of 5 stars S book that every JS developer should have
I learned a lot of things on how JavaScript works behind the scenes. I always thought that I knew how JS works but this book explains most of the good patterns of doing things but... Read more
Published 12 months ago by Thodoris
5.0 out of 5 stars Short, but packed with goodies
I bought this book partly based on reading bits of it first and partly based on other reviews. I was not disappointed. Read more
Published 17 months ago by A. Garrod
2.0 out of 5 stars disappointing.
I knew the author before I bought the book.
I read his blog and I know he is a competent guy when it comes to javascript.

What a shame ? Read more
Published 18 months ago by oo
5.0 out of 5 stars One of the best books ever written about JavaScript!
First I have to mention that this book is NOT for beginners! The author adresses advanced JavaScript topics and goes deeper in about what's going on behind the scenes of your... Read more
Published 21 months ago by Christophe
4.0 out of 5 stars Really interesting
Excellent book. Really interesting!

I would love to say that I understood every word, but I'm not quite there yet: it does delve into some quite complex topics. Read more
Published 21 months ago by Andy G
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges