Skip to content
Paperback Practical Javascript, DOM Scripting and Ajax Projects Book

ISBN: 1590598164

ISBN13: 9781590598160

Practical Javascript, DOM Scripting and Ajax Projects

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Good

$9.79
Save $35.20!
List Price $44.99
Almost Gone, Only 3 Left!

Book Overview

JavaScript is hugely poplar in modern web development. It has good support in modern web browsers and improved development practices, leading to much interest in topics such as Ajax and DOM Scripting.

This "learn by example" book offers 10 complete JavaScript projects that will save web developers countless hours of development time. These projects can serve as samples to learn from and/or be adapted for use in other projects. The 10 projects...

Customer Reviews

5 ratings

Good Book Overall

The goal of the book "Practical JavaScript, DOM Scripting, and AJAX projects" illustrates what it takes to create an application solely in JavaScript. This book discusses projects in different genres: using mashups to pull external data, creating a calculator, creating and playing a game, creating widgets, setting up a custom validation scheme, setting up a drag and drop shopping cart, and more. Each chapter sets up the application from scratch, so each chapter isn't building upon itself to create one large application. For each project, the author provides the CSS details, the JavaScript architecture and HTML markup, and the third-party JavaScript library information. Every project has a new library, such as the following: Dojo, Rico, Prototype, YUI, MooTools, script.aculo.us and a few others. When discussing these libraries, the author gives a brief overview, something I found beneficial, but an understanding of these libraries is where I wanted more. Of course, a book can only cover so many topics, and thus I found myself exploring these libraries on my own. Most chapters in the book setup each project in a common fashion: explanation of the project, overview of the script library that will be used for the chapter, listing of the CSS styles used, followed by walking through the HTML markup and JavaScript code associated with the project. Overall, the author conveyed the details of the project well, though not always covering contents in the order a reader may expect. The author had a unique style to his writing, and each chapter in the book was easy to read. The author is into pop culture and included statements and taglines from various pop culture sources, including reference markers explaining where the pop culture reference came from. My favorite chapter was creating the AJAX mashups. This was a topic that was somewhat foreign to me; I didn't quite understand how they worked, and the book illuminated it magnificently. The chapter used Yahoo Maps and Google Base to setup a zip code/hotel lookup. I also enjoyed the drag and drop shopping cart using YUI, and how simple it is to provide the drag and drop ability for dragging items into the shopping cart. One disappointment I had was that each chapter didn't build upon itself to show you something new, with the exception of the JavaScript libraries. Each chapter focused on what it needed to do to get the problem solved. Furthermore, the books didn't get into any complicated design patterns to solve any of the problems, which is a hot topic these days. This would have been helpful to illustrate to the readers. A lot of the same techniques are used throughout each project, which I would have like to seen him build upon the techniques used and have the book increase in complexity of application design have to offer. Overall, the book is good, especially for those new to JavaScript. The techniques learned you will be able to apply to your own projects.

Good Combo of JavaScript Frameworks and Projects

This book combines a look at some of the most popular JavaScript frameworks available at time of print (Dojo, YUI, Rico, MochiKit, Prototype, and MooTools) with a project-based focus. For each chapter, the author selects a framework (such as Dojo) and uses that framework to build a project (such as a Drag and Drop Shopping Cart). This framework/project combo works well to give the reader familiarity with a wide range of frameworks and framework coding styles in the context of building real-world components. He also shows you how to build your own framework. The one issue that kept nagging me as I read through the book is the author's frequent use of obtrusive JavaScript code in the projects, in light of the fact that he spends an entire chapter up front discussing JavaScript best practices, including the use of unobtrusive coding techniques. If you can live with that, then this book presents a brief look at various JavaScript frameworks effectively. Just don't expect to learn any one particular framework in-depth from this book.

Saved my ***

It was one of those Friday afternoon surprises. Rewrite the code in a customer facing document and it needs to go out on Monday. The problem was that I had never written an AJAX program and hadn't written much JavaScript. This book really helped me to put together simple and correct examples over the weekend and inspired this ASP.NET bigot to keep learning more about these technologies. I owe the author a big one!

It filled a niche I didn't know existed!

To be honest I wasn't expecting too much from Practical JavaScript, DOM Scripting and AJAX Projects, I was anticipating a cut down version of the AJAX part of his Practical Ajax Projects with Java Technology book, but it was so much. In fact it has taught me so much that I'm still trying to work out why some of the concepts weren't in some other AJAX/JavaScript books I have read and how I had gone for so long without encountering them. Usually AJAX in Action is given as the yardstick for measuring AJAX books, and I found Frank's first book a good compliment for AiA when you're integrating with Java, but Practical JDAP (if I may call it that) is something else again, and still a very strong contender for the web-developer's bookshelf. The main reason is that while it provides coverage of JavaScript with a view towards use of the latest technologies and practices in web development, its approach is complimentary rather than overlapping. For example only the last chapter covers AJAX explicitly, with the main focus of the book being the manipulation of the data on the client. On the down side, most of the hints and gems in the book are hidden in the text and are not marked up to bring them to your attention. If you browse the book or only implement parts of the examples you may miss some of these items. So while I wasn't expecting to learn from this book, I found it filled a niche between general JavaScript and AJAX that I wasn't aware existed.

Another great coding book by Zammetti

I've been a fan of Frank Zammetti's writing since the first book I read of his. I was browsing through a local bookstore one day, taking a look at the Javascript and AJAX-related books available, and ran into another book by Frank Zammetti on a similar topic. One of the things I like to do when looking over technical books is read the dedication... authors tend to express themselves more openly in the dedication. In that book's dedication, I saw a Babylon 5 reference. That really caught my attention, and I pulled the book out to read more. It really paid off. The Pros Zammetti has a very "friendly" style of writing. His writing seems like he was actually speaking to the reader, and it's like he's talking to a friend. He intersperses humor into his writing rather regularly, in such a way that reading never becomes boring. His writing style makes the book very accessible, regardless of programming experience. Mr. Zammetti is a proponant of the "hands-on" approach. This book is all practical projects, all with full source code. (The source code is available from the publisher's web site.) Each chapter essentially breaks down a project, explaining why each section was written the way it was, and how to apply the theory behind it. This means a programmer can get a project working using the included source code, and then go through Zammetti's text to learn how it works. Working with this book feels like a hands-on project with a teacher available, as opposed to some other technical books which feel like a lecture. Despite the emphasis on getting hands-on with projects, this book can be utilized easily even without working with the included code, as Zammetti's descriptions and examples are all very well written for accessibility and ease of understanding. The selection of projects is varied and has a pretty wide range of subjects, and includes building your own Javascript library early on which contains many helpful functions not available in stock Javascript. Also, the introductory chapters of the book have a very good "refresher" on basic Javascript concepts and best practices. This section has a good deal of information I found valuable. (For instance, which string concatenation method takes 3000 milliseconds longer in IE than in Firefox?) The Cons Both of Zammetti's books showcase a wide variety of frameworks and extensions. This is a good thing and a bad thing. It's good in that it gives the reader knowledge about a large number of different frameworks (prototype, Dojo, etc). The downside is that it may result in reliance upon one or more of those frameworks. The other downside about this specific book is that it's hard to track down specific techniques within the projects themselves. For instance, an autocomplete field with a "drop-down" list of recommendations. This is only a minor inconvenience, as the goal of the book is on full working projects, not just the elements inside of the projects, and it's organized acc
Copyright © 2023 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured