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—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 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 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 The State of JavaScript HTML, CSS, and JavaScript Object-Oriented Programming Libraries Ajax and Data Exchange Visual Effects Form Validation and JavaScript Case Study: FAQ Facelift A Dynamic Help System
Author(s): Aaron Gustafson, Jonathan Snook, Dan Webb, Stuart Langridge
Series: Expert's Voice
Edition: 1
Publisher: Apress
Year: 2007
Language: English
Pages: 243