Book description
Whether you're an old-school scripter who needs to modernize your JavaScripting skills or a standards-aware Web developer who needs best practices and code examples, you'll welcome this guide from a JavaScript master.
Other JavaScript books use example scripts that have little bearing on real-world Web development and are useful only in the chapter at hand. In contrast, Peter-Paul Koch's book uses eight real-world scripts he created for real-world clients in order to earn real-world money. That means the scripts are guaranteed to do something useful (and sellable!) that enhances the usability of the page they're used on.
The book's example scripts include one that sorts a data table according to the user's search queries, a form validation script, a script that shows form fields only when the user needs them, a drop-down menu, and a data retrieval script that uses simple Ajax and shows the data in an animation.
After an overview of JavaScript's purpose, Peter-Paul provides theoretical chapters on the context (jobs for JavaScript, CSS vs. JavaScript), the browsers (debugging, the arcana of the browser string), and script preparation. Then follow practical chapters on Core, BOM, Events, DOM, CSS Modification, and Data Retrieval, all of which are explained through a combination of theoretical instruction and the taking apart of the relevant sections of the example scripts.
Table of contents
- Title Page
- Copyright Page
- Words of thanks
- Contents at a Glance
- Contents
- Introduction
- Chapter 1. Purpose
- Chapter 2. Context
- Chapter 3. Browsers
- Chapter 4. Preparation
- Chapter 5. Core
- Chapter 6. BOM
- Chapter 7. Events
- Chapter 8. DOM
- Chapter 9. CSS modification
- Chapter 10. Data retrieval
- Afterword
- Index
- Media
Product information
- Title: ppk on JavaScript
- Author(s):
- Release date: September 2006
- Publisher(s): New Riders
- ISBN: 0321423305
You might also like
book
You Don't Know JS: Up & Going
It’s easy to learn parts of JavaScript, but much harder to learn it completely—or even sufficiently—whether …
book
You Don't Know JS: Scope & Closures
No matter how much experience you have with JavaScript, odds are you don’t fully understand the …
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
You Don't Know JS: Async & Performance
No matter how much experience you have with JavaScript, odds are you don’t fully understand the …