The book is broken into four sections:
Chapters 9 through 11 delve into the more sophisticated aspects of web-page development. These chapters cover the Browser Object Model and the newer Document Object Model, and show how you can create your own custom objects. Understanding these models is essential if you wish to create new windows, or individually access, modify, or even dynamically create any page element. In addition, with custom objects, you can then move beyond the capabilities that are prebuilt into either language or browser.
- Chapter 1, Introduction and First Looks
- Chapter 3, Operators and Statements
Math. The chapter also introduces the
RegExpobject, which provides the facilities to do regular-expression pattern matching. Regular expressions are essential when checking form fields.
- Chapter 5, Functions
- Chapter 6, Catching Events
Focuses on event handling, including both the original form of event handling (which is still commonly used in many applications), as well as the newer DOM-based event handling.
- Chapter 7, Forms and JiT Validation
- Chapter 8, The Sandbox and Beyond: Cookies, Connectivity, and Piracy
- Chapter 9, The Basic Browser Objects
- Chapter 10, DOM: The Document Object Model
Focuses on the Document Object Model, a straightforward, but not trivial, object model that provides access to all document elements and attributes. You’ll see documents that are based in XML (such as XHTML) as well as HTML. Though the model is comprehensive and its coverage is fairly straightforward, there could be some challenging moments in the chapter for new programmers.
- Chapter 12, Building Dynamic Web Pages: Adding Style to Your Script
Provides a general introduction to some of the more commonly used Dynamic HTML effects, including drag and drop, collapsing and expand page sections, visibility, and movement. Some understanding of CSS is required.
- Chapter 13, Moving Outside the Page with Ajax
- Chapter 14, Good News: Juicy Libraries! Amazing Web Services! Fun APIs!
Covers some of the more popular libraries you can download and use for free. This includes Prototype, Sabre’s Rico, Dojo, MochiKit, Yahoo! UI, and script.aculo.us. Between these libraries and the book, you’ll have all you need to create incredible, and useful, web applications.