Internet Cross Logo
Internet Cross your one stop web tutorial website

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

List Price: $44.99
Our Price: $26.60
Your Save:$ 18.39 ( 41% )
Availability: Usually ships in 24 hours
Manufacturer: Apress Average Customer Rating: Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5

Buy it now at Amazon.com!

Back to previous page




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


Binding: Paperback
Dewey Decimal Number: 005
EAN: 9781590599082
ISBN: 159059908X
Label: Apress
Manufacturer: Apress
Number Of Items: 1
Number Of Pages: 269
Publication Date: 2007-12-10
Publisher: Apress
Studio: Apress

Related Items

Spotlight customer reviews:

Customer Rating: Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5
Summary: great next step book
Comment: 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.








Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Required reading to advance the skill level of experienced programmers
Comment: 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.

Customer Rating: Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5
Summary: Valuable if you do non-trivial work with JavaScript
Comment: 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

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Great book, highly recommend
Comment: 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.

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: This book rocks!
Comment: Harmes and Diaz bend, twist, fold and stretch the Javascript language in ways that it wasn't probably intended to ever be used and, in doing so, demonstrate just how flexible and dynamic Javascript is. They actually cover topics such as Interfaces, encapsulation, inherittance, the singleton pattern, the factory pattern, the bridge pattern, the composite pattern, the adapter pattern, the proxy pattern, the lightweight pattern and the command pattern.

Early on in the book when looking at the interface pattern, when it was suggested an implementation of this pattern with comments, I actually thought that this just wasn't going to work for me. They do, however, show a much more credible implementation of this and other patterns and, in the process, cover some of the deeper and more powerful features of the language. The examples are highlighted against specific applications. For instance, the benefits of the singleton pattern are explained through the process of creating an XHR object (an instance of the XMLHttpRequest).

I haven't finished the book yet, but it is clear that this is one to keep going back to. As someone else has already mentioned, this is not a showcase of UI tricks and will be appreciated by someone developing or extending web development frameworks or someone who just wants to write better and more extensible Javascript.

I would have liked to have seen some examples of how the patterns are used in frameworks such as Prototype/Scriptaculous and jQuery in the same vein that Olsen's "Design Patterns in Ruby" (an excellent book if you are into Ruby) illustrates patterns with code used in Rails, Ruby and other applications in the wild. Also, I found that I needed to brush up on my Javascript (bigtime) in order to keep up with this one (Resig's "Pro Javascript Techniques" and Crockford's "JavaScript: The Good Parts" are highly recommenced to that end). Then again, the Authors might have then struggled to keep this at just under 270 pages.

Highly recommended!



 

Editorial Reviews:

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.

Related Titles

  • Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional
  • Pro JavaScript Techniques
  • Pro DOM Scripting with Ajax, APIs, and Libraries
  • Practical JavaScript , DOM Scripting, and Ajax Projects



Buy it now at Amazon.com!