Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional (Beginning: from Novice to Professional)

by Apress

$39.99
buy from amazon.com
Average Rating: * * * half star -
Sales Rank:229032 (lower is better)
Price Used:$13.99
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:Apress
Pages:512
Binding:Paperback
Publication Date:2006-07-14
Published By:Apress
ASIN:1590596803
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

JavaScript is one of the most important technologies on the web. It provides the means to add dynamic functionality to your web pages and serves as the backbone of Ajax-style web development. Beginning JavaScript with DOM Scripting and Ajax is an essential guide for modern JavaScript programming; its practical but comprehensive. It covers everything you need to know to get up to speed with JavaScript development to add dynamic enhancements to web pages and program Ajax-style applications.

Experienced web developer Christian Heilmann begins gently by giving you an overview of JavaScriptits syntax, good coding practices, and the principles of DOM scripting. Then he builds up your JavaScript toolkit, covering dynamically manipulating markup, changing page styling on the fly using the CSS DOM, validating forms, dealing with images, and much more. Then he takes you to advanced territory, with a complete case study illustrating how many new JavaScript techniques can work together, plus a great introduction to Ajax development.

Customer Reviews

It's about time - Reviewed on 2007-09-22
* * * * *
4 customers found this review helpful.

I have been going through a lot of javascript books to find that all of them want to teach you the trivial things javascript can do. Not only are the examples trivial, they teach the reader horrible habits. This book doesn't have any "Hello World" examples. It gets into what javascript SHOULD be used for, and how to use it correctly. Other reviews have said that the examples do not work. Do not let that throw you off. I went through the ENTIRE book and every single example worked for me. There are a few towards the end that require a server or a local host like xampp, but either way they still worked. Another review also complained about the DOMhelp library that Chris creates. Chris explains EVERY method in that library before you use it. The library does not do trivial things like "getLinks" You learn how to do that the regular way with the DOM. I think that reviewer got that method mixed up with DOMhelp.getTarget which gets the correct target that a user clicked on depending on which browser the user is using. That is mostly what Chris developed the library for, browser cross compatibility so you don't have to write extensive code. Simply put, some of the other reviews were not very well thought out. If you want to learn useful javascript the right way with plenty of examples to help you learn it, then this is the book for you.
Emphasize "beginner"; "professional" part is false - Reviewed on 2007-09-12
* *
13 customers found this review helpful, 1 did not.

Just be aware of what you're getting into when you buy this book. It is *for beginners*, not for experienced developers. It spends the first 90 pages covering for- and while-loops, if-tests, and the rest of the machinery that you already know if you're an experienced programmer. It is the fate of most computer books, I'm afraid, that they either address rank beginners or professional software developers, with few addressing those in the middle.

After every chapter, I had to take a second to recapitulate what I had just learned into the terminology that I'm aware of from my experience with other languages. One large section, for instance, is devoted to namespace-collision issues -- but the word "namespare" appears nowhere in the index. If you need a book that will jumpstart to "Here's how you solve the namespace-collision problem in JavaScript," this book is not for you.

I had lots of specific questions, having just come to JavaScript. How do I set up a callback *chain*, for instance, on something like the window.onload event? This book is not at that level. It will be unable to answer that question for you. It spends so much time on beginners that it doesn't have enough time to help with best practices or common, cookbook-type programming problems.

And yet it does seem confused about exactly who its audience is. Right after a chapter on basic flow control, Heilmann tosses off "XSLT" as though he expects his readers to know what that is. I submit that those who needed the first chapter will not need the XSLT bit, and conversely.

So just be aware what you're getting into. I'm actually not blaming Heilmann, though I do blame whoever gave the book its title; it's much more about novices than professionals. If you look on the back of this book, you'll see the flow chart that Apress recommends: start with Heilmann's book, and progress into "Pro JavaScript Techniques" and "Pro CSS Techniques." "Pro Javascript" will be my next step.
Meh... - Reviewed on 2007-08-14
* * *
1 customer found this review helpful, 1 did not.

He makes me cringe because he describes a lot of practices that are just really cheesy and annoying. People new to programming who start with this book are not going to advance the state of javascript enabled websites. Also, the examples are overly long. There's a 4 page example for each concept.
Bookmarked throughout - lots of useful stuff - Reviewed on 2007-06-14
* * * * *
1 customer found this review helpful.

I liked this book - it has many real applications and explanations. I found myself slipping in markers on lots of pages so that I could come back for information that I knew I needed or showed a better way to code something that I had already done.
Buy DOM Scripting (friendsOfEd) instead - Reviewed on 2007-03-23
* *
5 customers found this review helpful, 8 did not.

Don't let the all-inclusive title of this book fool you - it really doesn't seem to teach that much more than what you could learn by reading DOM Scripting (from Friends of ED). DOM Scripting: Web Design with JavaScript and the Document Object Model

I keep running into a custom object in the code examples of the book called "DOMhelp". While I like the author's ideas about scripting in a more object oriented way, this does not help at all when trying to demonstrate DOM Scripting. For example, instead of using the actual DOM methods to get all the links on the page and loop through them, he shows you a line of code that just says "DOMhelp.getlinks". Yes, that line does the same thing by accessing his object and running the regular DOM functions, but what does it teach me? Nothing. That alone is a big enough annoyance to regret buying this book.

This book also pulls the "we'll explain that part later" trick one too many times. It's not that this book is completely awful, it's really that you can find a much better book to teach you more useful (and universal) things with DOM Scripting.
Read More Customer Reviews »
Go To Amazon Product Page

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


Book Subjects