Accelerated DOM Scripting with Ajax, APIs, and Libraries
- Length: 221 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2007-09-26
- ISBN-10: 1590597648
- ISBN-13: 9781590597644
- Sales Rank: #3319277 (See Top 100 Books)
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
Chapter 1. The State of JavaScript
Chapter 2. HTML, CSS, and JavaScript
Chapter 3. Object-Oriented Programming
Chapter 4. Libraries
Chapter 5. Ajax and Data Exchange
Chapter 6. Visual Effects
Chapter 7. Form Validation and JavaScript
Chapter 8. Case Study: FAQ Facelift
Chapter 9. A Dynamic Help System