Accelerated DOM Scripting with AJAX, APIs, and Libraries

by Jonathan Snook (Author), Aaron Gustafson (Author), Stuart Langridge (Author), Dan Webb (Author), and Cameron Adams (Technical Reviewer)

[Book Cover] Accelerated DOM Scripting with AJAX, APIs, and Libraries

If you're a web developer with previous JavaScript and DOM scripting experience, Accelerated DOM Scripting with Ajax, APIs, and Libraries is perfect for you to take your knowledge up to the next level.

This book is about JavaScript and using the document object model—the conduit to the HTML document. This book is not about learning how to program JavaScript from scratch. It starts with the assumption that you have done some JavaScript development before and understand the JavaScript syntax. This book builds on top of that knowledge to give you a deeper understanding of DOM Scripting and how to apply that to your projects. It uses this new understanding to describe what JavaScript libraries are and show you how they can be applied to your project. The book will also explain Ajax and how best to plan and apply it to your projects. It explains how to build simple animation objects for adding movement to elements on the page. There are straightforward examples that demonstrate the techniques used throughout the book.

JavaScript has seen a resurgence in popularity over the past few years, and with it has come an exploration of the power of the language as well as what it can do within the browser. This book will explain techniques new and old—such as closures, encapsulation, and inheritance—that many are using and how you can best apply them to your own projects.

By reading this book, you should have a greater understanding of how JavaScript works and be able to use advanced concepts such as closures and event delegation to build more flexible applications for the Web. You'll walk away with a greater appreciation for JavaScript libraries and how they can simplify and speed up your development. You'll also be able to implement Ajax effectively into your site, create special effects, use JavaScript libraries, and know how best to apply these libraries to your projects.

What you'll learn:

  • Where CSS, HTML, and the DOM fit into modern scripting, and how to use them together effectively
  • OOP techniques for more efficient JavaScript coding
  • How to use JavaScript libraries such as Prototype in your work
  • How to build effective form validation into your applications using Ajax
  • How to create mashups using APIs
  • How to build dynamic user interfaces

Reviews

Accelerated DOM Scripting with AJAX, APIs, and Libraries
Reviewed by Nate Klaiber on October 23rd, 2007 @ 08:21AM
JavaScript is not evil. JavaScript libraries are not evil. This book will show you how to make proper use of the tools available to you.

Other Books by Apress

[Book Cover] Beginning HTML with CSS and XHTML: Modern Guide and Reference
Beginning HTML with CSS and XHTML: Modern Guide and Reference
If you want to get into developing web sites, the most important thing you need is a solid understanding of Hypertext Markup Language, or HTML—the language that the majority of web site content is written in. Beginning HTML with CSS and XHTML: Modern Guide and ...
[Book Cover] Pro CSS and HTML Design Patterns
Pro CSS and HTML Design Patterns
Design patterns have been used with great success in software programming. They improve productivity, creativity, and efficiency in web design and development, and they reduce code bloat and complexity. In the context of CSS and HTML, design patterns are sets of...
[Book Cover] Pro JavaScript Techniques
Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you a...
[Book Cover] Pro CSS Techniques
Pro CSS Techniques
Pro CSS Techniques is the ultimate CSS book for the modern web developer. If you've already got web design and development basics under your belt, but want to take your knowledge to the next level and unleash the full power of CSS in your web sites, then this is...

More Books by Apress