Product Details
Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap)

Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap)
By Ross; Diaz, Dustin Harmes

List Price: £35.49
Price: £20.63 & eligible for FREE Super Saver Delivery. Details

Availability: Usually dispatched within 24 hours
Dispatched from and sold by Amazon.co.uk

28 new or used available from £17.79

Average customer review:

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 learnHow to apply object–oriented programming techniques in JavaScriptHow to take advantage of inheritance, interfaces, and encapsulation and information hiding to kick–start your JavaScript developmentHow to implement several design patterns in your JavaScript projects, including factory, façade, bridge, composite, adapter, decorator, flyweight, proxy, command, observer, and chain of responsibilityHow to make your code easier to manage in a team environment, as well as on your ownHow to create your own libraries and APIsWho is this book for?This book will be an invaluable learning tool for any experienced JavaScript developer. About the Apress Pro SeriesThe 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.


Product Details

  • Amazon Sales Rank: #60439 in Books
  • Published on: 2007-12-10
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 269 pages

Editorial Reviews

About the Author

Ross Harmes

Ross Harmes works as a frontend engineer in Sunnyvale, California, where he creates modular and reusable JavaScript components for Yahoo! Small Business.
Dustin Diaz

Dustin Diaz is a user interface engineer for Google in Mountain View, California. He enjoys writing JavaScript, CSS, and HTML, as well as making interactive and usable interfaces to inspire passionate users.


Customer Reviews

Very informative4
I used this book to attempt to get a better understanding of Javascript and it served this purpose remarkably well. I am a professional programmer by trade so I already know design patterns very well having studied the infamous "Gang of Four" book. This meant that I could look at each design pattern and see how it was implemented compared to other languages I know and see how they differed and how they were similar which was quite an interesting way of learning.

The book does however feature a very detailed look into how to write good Javascript in the first few chapters which was very useful. What it doesn't cover is things such as basic control structures, data types etc which you'd find with a more beginners book.

The writers do a very good job of explaining each design pattern and the pro's and con's of each, when you'd use it and then how to implement it. They take a very terse dry subject and make it very readable. However this is by no means a comprehensive list of all the design patterns there are. It has the basics and that's it, but by the end of it you'll be competent enough to figure out the others by yourself.

This along with Douglas Crockford's "Javascript the good parts" will keep you in good stead with any Javascript project.