PPK On JavaScript

by Peter-Paul Koch (Author)

[Book Cover] PPK On JavaScript

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.

Reviews

PPK On JavaScript
Reviewed by Nate Klaiber on July 31st, 2007 @ 09:55AM
If you are just getting your feet wet in JavaScript, then this book is the perfect book to help take you to the next level.

Other Books by New Riders Press

[Book Cover] Fluid Web Typography
Fluid Web Typography
The type that designers use can say as much to their audience as the actual words on the page. But until now, Web designers have had an extremely limited palette of typefaces from which to choose&738212;essentially, Arial (yawn), Times (yawn), and Georgia (yawww...
[Book Cover] Content Strategy for the Web
Content Strategy for the Web
If your website content is out of date, off-brand, and out of control, you're missing a huge opportunity to engage, convert, and retain customers online. Redesigning your home page won't help. Investing in a new content management system won't fix it, either. So...
[Book Cover] Handcrafted CSS: More Bulletproof Web Design
Handcrafted CSS: More Bulletproof Web Design
There’s a real connection between craftsmanship and Web design. That’s the theme running through Handcrafted CSS: More Bulletproof Web Design, by bestselling author Dan Cederholm, with a chapter contributed by renowned Web designer and developer Etha...
[Book Cover] Building Findable Websites: Web Standards SEO and Beyond
Building Findable Websites: Web Standards SEO and Beyond
This is not another SEO book written for marketing professionals. Between these covers you'll find practical advice and examples for people who build websites aiming to reach their target audience. Each chapter will introduce you to best practices and fresh per...

More Books by New Riders Press