Accelerated DOM Scripting with Ajax, APIs, and Libraries (Google eBook)

Front Cover
Apress, Sep 25, 2007 - Computers - 221 pages
0 Reviews

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 to the next level.

This book is about JavaScript and using the document object model葉he 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 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耀uch as closures, encapsulation, and inheritance葉hat 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値l learn
  • Where CSS, HTML, and the DOM fit into modern scripting, and how to use them together effectively
  • Object-oriented programming 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
Who this book is for

This book is for beginner to intermediate developers, and already have knowledge of HTML, CSS, and JavaScript.

Table of Contents
  1. The State of JavaScript
  2. HTML, CSS, and JavaScript
  3. Object-Oriented Programming
  4. Libraries
  5. Ajax and Data Exchange
  6. Visual Effects
  7. Form Validation and JavaScript
  8. Case Study: FAQ Facelift
  9. A Dynamic Help System
  

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

The State of JavaScript
1
HTML CSS and JavaScript
13
ObjectOriented Programming
57
Libraries
81
Ajax and Data Exchange
99
Visual Effects
129
Form Validation and JavaScript
147
FAQ Facelift
167
A Dynamic Help System
189
Index
215
Copyright

Common terms and phrases

Popular passages

Page xii - ... is a member of the Web Standards Project (WaSP) and the Guild of Accessible Web Designers (GAWDS). He also serves as Technical Editor for A List Apart, is a contributing writer for Digital Web Magazine and MSDN, and has built a small library of writing and editing credits in the print world. Aaron has graced the stage at numerous conferences (including An Event Apart, COMDEX, SXSW, The Ajax Experience, and Web Directions) and is frequently called on to provide web standards training in both the...
Page xii - After getting hooked on the web in 1996 and spending several years pushing pixels and bits for the likes of IBM and Konica Minolta, Aaron Gustafson founded his own web consultancy Easy! Designs LLC. Aaron is a member of the Web Standards Project (WaSP) and the Guild of Accessible Web Designers (GAWDS). He also serves as...
Page 17 - a valid string ... must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".")." Styling Microformats Microformats are embedded in HTML through various attributes, namely class, rev, and rel.

About the author (2007)

Aaron Gustafsonpushed pixels and bits as a freelancer for many top companies (Aetna, Deloitte & Touche, Delta Airlines, Guinness, IBM and Scholastic, to name a few) before taking a position at Cronin and Company, a regional advertising agency. At Cronin, Aaron got the digital department off the ground and set the standards (pun intended) for all web development within the agency. His work on websites for Bertucci's, Konica Minolta, Mystic Aquarium, TriZetto and several Connecticut state agencies garnered numerous state, national and international awards for Cronin, for both design and web standards. In early 2006, Aaron left Cronin to focus on building his own web shop (Easy! Designs, LLC) and writing more. In addition to being a member of the Web Standards Project (WaSP), Aaron sits on the advisory panel for WOW (formerly World Organization of Webmasters) and is a member of the Guild of Accessible Web Designers (GAWDS). He serves as production editor for A List Apart, is a contributing writer for Digital Web Magazine, and contributed several chapters to the newly-updated Web Design in a Nutshell, Third Edition (O'Reilly). Aaron has been a featured speaker at numerous conferences, including COMDEX, MacWorld and SXSW, and has been called on to provide web standards training in both government and corporations. He blogs at easy-reader.net.

Jonathan Snook is a self-professed web geek who's been involved in developing web sites since 1995. With oversix years of web agency experience, he has brought his talents to projects with clients such as FedEx, Apple, Red Bull, and the Canadian Red Cross.

Jonathan currently works as a freelance web developer out of Ottawa, Ontario, Canada and writes on web development for his site Snook.ca.

Dan Webb is a web application developer and renowned JavaScript expert who has spoken at @media 2006, RailsConf Europe, and The Ajax Experience, haswritten for A List Apart and Sitepoint; and is a member of U.K. web design group the Brit Pack. More recently, he's written the Low Pro extension for Prototype, coauthored the Unobtrusive JavaScript plug-in, and become a member of the newly formed Prototype Core Team.

Stuart Langridge is quite possibly the only person in the world to have abachelor's degreein computer science and philosophy. When he's not fiddling about with computers, he's an information architect, author of SitePoint's "DHTML Utopia," a member of the WaSP's Scripting Task Force, and a drinker of decent beers. He's also one-quarter of the team at LugRadio, the world's premiere free and open source software radio show.

Bibliographic information