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
The Past, Present, and Future of JavaScript
What’s next for JavaScript? Its phenomenal rise from a simple client-side scripting tool to a versatile …
book
Pro JavaScript Development: Coding, Capabilities, and Tooling
Pro JavaScript Development is a practical guide for front-end web developers who are experienced at building …
book
Building Polyfills
Add custom features to browsers old and new by writing polyfill libraries, JavaScript plugins that take …
article
Use GitHub Copilot: Additional Tips
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …