JavaScript & DHTML Cookbook

by O'Reilly Media, Inc.

$39.95
90% off
buy from amazon.com
Average Rating: * * * * half star
Sales Rank:38852 (lower is better)
Price as of:07/18/2008 1:10:57 AM MDT
Price Used:$1.76
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:O'Reilly Media, Inc.
Pages:576
Binding:Paperback
Publication Date:2003-04-01
Published By:O'Reilly Media, Inc.
ASIN:0596004672
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

On numerous online forums for JavaScript and DHTML, the majority of questions begin with "How do I...?" This new Cookbook provides the answers. After reading thousands of forum threads over the years, author and scripting pioneer Danny Goodman has compiled a list of problems that frequently vex scripters of various experience levels. He has now applied state-of-the-art ECMA and W3C DOM standards and used best practices to create this extensive collection of practical recipes that can bring your web pages to life. The JavaScript & DHTML Cookbook is all about adding value to the content of a web page. The book focuses on practical and sensible applications of scripting, rather than flying images and gratuitous color changes. For every problem Goodman addresses, there's a solution or "recipe"--a focused piece of code that web developers can insert directly into their applications. Yet, rather than just cut-and-paste code, you also get explanations of how and why the code works, so you can learn to adapt the problem-solving techniques to your designs. The recipes range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements and sorting tables. This book contains over 150 recipes on the following topics:
  • Working with interactive forms and style sheets
  • Presenting user-friendly page navigation
  • Creating dynamic content
  • Producing visual effects for stationary content
  • Positioning HTML elements
  • Managing browser windows and multiple frames
This book is the ideal companion to O'Reilly's JavaScript: The Definitive Guide and Dynamic HTML: The Definitive Reference. If you own either of these books, the JavaScript & DHTML Cookbook is a must.

Customer Reviews

Not what I thought it would be. - Reviewed on 2008-07-14
* *

The book doesn't go in-depth in it's explainations. It is written more for the seasoned script writer and not the beginner. I found it very confusing and not enough detail to be of any use to me. I preferred "Javascript, Demystified".
A Good Book to Learn The Basics - Reviewed on 2008-06-10
* * * *

Like most web developers, I typically will reach for one of the many JS libraries when it comes time to add client-side enhancements to my web applications. This is usually the obvious choice for the sake of saving time on projects, and keeping costs down... but quite often, many libraries are simply overkill for a simple little js/dhtml enhancement.

As such, that is what lead me to this book. I was hoping the cookbook format would give me some fresh ideas on doing some simple js/dhtml work and it most definitively delivered.

Perhaps the most valuable parts of this book for me were the aspects of working on the DOM. Additionally, I always enjoy reading different techniques for dealing with client-side form validation.

To me the coverage on loading dynamic data/ajax was good, but I still think that when entering into that realm of JS, it is usually time to deploy one of the libraries I mentioned earlier.

All in all this has become a valuable resource that I often refer to during my daily work.
Great book - Reviewed on 2008-04-28
* * * * *

I really like this book. The format of each technique demonstrated is

Problem- Solution- Discussion

The nice thing is that you can get a quick explanation from the solution, and a more in depth response in the discussion. The author presents complete code which is easily built upon and customized.

I knew a bit of Javascript when I started, but I think this would be an excellent book even for a complete beginner.
This is a good book for general purposes - Reviewed on 2008-04-23
* * * *

I wouldn't buy this book if you are going for aesthetics for you website. I wouldn't buy it if you are a heavy programmer either. Its a good "middle" book for just general roll overs, browser detections, and other javascript functions for form validation. Its a little small.
excellent reference - Reviewed on 2008-02-14
* * * * *
1 customer found this review helpful.

I still have the first edition of this book but other than perhaps missing the chapters on ajax it's not outdated at all. This book has saved my life several times already. Almost every time I am looking to solve a tricky problem in javascript, I find that this book contains a well explained chapter with the exact solution that I was looking for. The authors often make a point of going through multiple iterations of a solution, to demonstrate what needs to be modified to support certain browsers, and at the same time ensure that the reader actually understands the code too.

This is a great book for experienced javascript developers who want to save time by using tried and tested code to solve common problems, but at the same time understand that code too.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects