ThatsNeato NeatoShop
Enter Keywords:
Index : Product Listings : Product DetailsBack


  View Larger
Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap)
By Ross HarmesDustin Diaz ( Apress )
Release Date: 2007-12-10
Average Customer Rating:
List Price: $44.99
Price: $38.24
Eligible for FREE Super Saver Shipping on orders over $25.
Availability: Usually ships in 24 hours
 Add to Cart 

Product Description

As a web developer, you’ll already know that JavaScript is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked—JavaScript is capable of full object–oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team.

With Pro JavaScript Design Patterns, you’ll start with the basics of object–oriented programming in JavaScript applicable to design patterns, including making JavaScript more expressive, inheritance, encapsulation, information hiding, and more. With that covered, you can kick–start your JavaScript development in the second part of the book, where you’ll find detail on how to implement and take advantage of several design patterns in JavaScript, including composites, decorators, façades, adapters, and many more.

Each chapter is packed with real–world examples of how the design patterns are best used and expert advice on writing better code, as well as what to watch out for. Along the way you’ll discover how to create your own libraries and APIs for even more efficient coding.

  • Master the basics of object–oriented programming in JavaScript, as they apply to design patterns.
  • Apply design patterns to your kick–start your JavaScript development.
  • Work through several real–world examples.

What you’ll learn

  • How to apply object–oriented programming techniques in JavaScript
  • How to take advantage of inheritance, interfaces, and encapsulation and information hiding to kick–start your JavaScript development
  • How to implement several design patterns in your JavaScript projects, including factory, façade, bridge, composite, adapter, decorator, flyweight, proxy, command, observer, and chain of responsibility
  • How to make your code easier to manage in a team environment, as well as on your own
  • How to create your own libraries and APIs

Who is this book for?

This book will be an invaluable learning tool for any experienced JavaScript developer.

About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.


Customers Who Bought This Item Also Bought

Pro JavaScript Techniques (Pro)

JavaScript: The Good Parts

Pro CSS and HTML Design Patterns

JavaScript: The Definitive Guide

Accelerated DOM Scripting with Ajax, APIs, and Libraries (Accelerated)

Product Reviews:
  the best book i've ever read about javascript OOP  
the book is amazing and front-end engineer should not miss this one , it take you to the Guru level of knowledge with javascript OOP techniques and API creation world through Dustin diaz (Google) and Ross harmes (YahOO!) experience , beginning with OOP fundamentals in the first 6 chapters , then dive into the interesting javascript design patterns : Factory , Bridge , Composite , Facade , Adapter , Decorator , flyweight , Proxy , Observer and Command , i don't exaggerate when i tell you that it's the best book i've ever read about javascript in my life :) .
  great next step book 
it's a great book to learn more.....it's missing practical examples for real life.....lot of theory. If you don't know Object Oriented Principles, it will be (very) hard(er). (ActionScript 3.0 book can help, or Java book ).

It's not begginer book........It's great for large projects, applications.
This is great for frontend engineers and software engineers.
I would recommend JavaScripts Good Parts in addition to this, it could help with coding standards....

Unfortunatelly, there is no single Javascript book.

Many of them are old and lousy......

As UI/Front End Developer, it's nice to have a book like this. it's very helpfull for sure.

What's missing, HOW TO - the connection to real Javascript frameworks, like YUI, JQuerry, Mootools, Prototype, Dojo, etc, etc, etc.







  Required reading to advance the skill level of experienced programmers ( haroldmcf )
To begin with this is not a book for the person new to JavaScript. The authors assume some knowledge of JavaScript and object oriented programming right from the start. This is more of an advanced text for those who already can get things done in JavaScript and want to advance their knowledge, write code that is easier to maintain, and exploit the flexibility of JavaScript to its fullest extent.

For each pattern discussed they provide background information on the problem to be resolved, example coding, and when to use it. I appreciated this detail in helping me to fully understand not only when a pattern could be used to benefit a project but also when it might not be the most appropriate way. While JavaScript has always been known for its flexibility these authors show how a creative person can exploit the language's flexibility.. The patterns themselves represent pretty common ones in other languages but the way they were implemented in JavaScript was enlightening.

This is an excellent guide and reference for high-level JavaScript programming on large projects maintained by multiple programmers. Pro JavaScript Design Patterns is highly recommended for experienced object oriented programmers who want to add this to their knowledge base.
  Valuable if you do non-trivial work with JavaScript ( massimocorner )
Back in the early days Design Patterns examples mostly used C++ as language. This day Java is the typical choice, with an increasing amount of C#. Usually if you are familiar with any of those languages, porting the sample code to a different platform isn't that hard. Unfortunately JavaScript is quite a different beast, first of all is not class based, it's loosely typed, it doesn't support interfaces etc. JavaScript has a whole bunch of peculiarities that make it really hard to translate those Java/C# samples. That's why this book is really welcomed. The authors stick with mainstream, well-know patterns, nothing new, but they "translate" those patterns in JavaScript, offering working samples. I tend to disagree with them whenever they pretend to add interface-like functionality to JavaScript; yet, I think they made an excellent job, a book that can be really valuable if you do non-trivial work with JavaScript
  Great book, highly recommend ( idealitem )
The authors of this book, being recognized web experts in Google and Yahoo circles, are sharing an array of javascript design patterns that will empower your applications and widen horizons of all web developer levels.