The Art & Science of JavaScript
Adams (Cameron), Edwards (James), Heilmann (Christian), Mahemoff (Michael), Pehlivanian (Ara), Web (Dan), Etc.
This Page provides (where held) the Abstract of the above Book and those of all the Papers contained in it.
Colour-ConventionsDisclaimerNotes Citing this Book


Who Should Read This Book

  1. This book is targeted at intermediate JavaScript developers who want to take their JavaScript skills to the next level without sacrificing web accessibility or best practice. If you’ve never written a line of JavaScript before, this probably isn’t the right book for you — some of the logic in the later chapters can get a little hairy.
  2. If you have only a small amount of experience with JavaScript, but are comfortable enough programming in another language such as PHP or Java, you’ll be just fine — we’ll hold your hand along the way, and all of the code is available for you to download and experiment with on your own. And if you’re an experienced JavaScript developer, we would be very, very surprised if you didn’t learn a thing or two. In fact, if you only learn a thing or two, you should contact us here at SitePoint — we may have a book project for you to tackle!

    Preface – xiii
  1. Fun with Tables – 1
    Ara Pehlivanian
  2. Creating Client-side Badges – 45
    Christian Heilmann
  3. Vector Graphics with canvas – 75
    Cameron Adams
  4. Debugging and Profiling with Firebug – 121
    Michael Mahemoff
  5. Metaprogramming with JavaScript – 149
    Dan Webb
  6. Building a 3D Maze with CSS and JavaScript – 189
    James Edwards
  7. Flickr and Google Maps Mashups – 217
    Simon Willison
    Index – 251


pdf file from SitePoint; See Link (Defunct); January 2008

"Adams (Cameron), Edwards (James), Heilmann (Christian), Mahemoff (Michael), Pehlivanian (Ara), Web (Dan), Etc. - The Art & Science of JavaScript"

Source: Adams (Cameron), Etc. - The Art and Science of JavaScript

  1. Once upon a time, JavaScript was a dirty word.
  2. It got its bad name from being misused and abused — in the early days of the Web, developers only ever used JavaScript to create annoying animations or unnecessary, flashy distractions. Thankfully, those days are well behind us, and this book will show you just how far we’ve come. It reflects something of a turning point in JavaScript development — many of the effects and techniques described in these pages were thought impossible only a few years ago.
  3. Because it has matured as a language, JavaScript has become enormously trendy, and a plethora of frameworks have evolved around many of the best practice techniques that have emerged with renewed interest in the language. As long-time JavaScript enthusiasts, we’ve always known that the language had huge potential, and nowadays, much of the polish that makes a modern web application really stand out is usually implemented with JavaScript. If CSS was the darling of the early 2000s, JavaScript has since well and truly taken over the throne.
  4. In this book, we’ve assembled a team of experts in their field — a veritable who’s who of JavaScript developers — to help you take your JavaScript skills to the next level. From creating impressive mashups and stunning, dynamic graphics to more subtle user-experience enhancements, you’re about to open Pandora’s box. At a bare minimum, once you’ve seen what’s possible with the new JavaScript, you’ll likely use the code in this book to create amazing user experiences for your users. Of course, if you have the inclination, you may well use your new-found knowledge to change the world.
  5. We look forward to buying a round of drinks at your site’s launch party!

What’s in This Book
  1. Chapter 1: Fun with Tables
    HTML tables get a bad rap among web developers, either because of their years of misuse in page layouts, or because they can be just plain boring. In this chapter, Ara Pehlivanian sets out to prove that not only are properly used tables not boring, but they can, in fact, be a lot of fun — especially when they’re combined with some JavaScript. He introduces you to the DOM, then shows how to make table columns sortable and draggable with either the mouse or the keyboard.
  2. Chapter 2: Creating Client-side Badges
    Badges are snippets of third-party data (image thumbnails, links, and so on) that you can add to your blog to give it some extra personality. Christian Heilmann walks us through the task of creating one for your own site from scratch, using JSON and allowing for a plan B if the connection to the third-party server dies.
  3. Chapter 3: Creating Vector Graphics with canvas
    In this chapter, Cameron Adams introduces the canvas element, and shows how you can use it to create vector graphics — from static illustrations, to database driven graphs and pie charts — that work across all modern browsers. After you’ve read this chapter, you’ll never look at graphics on the Web the same way again!
  4. Chapter 4: Debugging and Profiling with Firebug
    Firebug is a plugin for the Firefox browser, but calling it a plugin doesn’t do it justice — Firebug is a full-blown editing, debugging, and profiling tool. It takes the traditionally awkward task of JavaScript debugging and optimization, and makes it intuitive and fun. Here, Michael Mahemoff reveals tons of pro-level tips and hidden treasures to give you new insight into this indispensable development tool.
  5. Chapter 5: Metaprogramming with JavaScript
    Here, Dan Webb takes us on a journey into the mechanics of the JavaScript language. By understanding a little about the theory of metaprogramming, he shows how we can use JavaScript to extend the language itself, improving its object oriented capabilities, improving support for older browsers, and adding methods and operators that make JavaScript development more convenient.
  6. Chapter 6: Building a 3D Maze with CSS and JavaScript
    Just when you thought you’d seen everything, James Edwards shows you how to push the technologies of CSS and JavaScript to their limits, as he creates a real game in which the player must navigate around a 3D maze! Complete with a floor-plan generator and accessibility features like keyboard navigation and captions, this chapter highlights the fact that JavaScript’s potential is limited only by one’s imagination.
  7. Chapter 7: Flickr and Google Maps Mashups
    Ever wished you could combine the Web’s best photo-management site, Flickr, with the Web’s best mapping service, Google Maps, to create your own über-application? Well, you can! Simon Willison shows that, by utilizing the power of JavaScript APIs, creating a mashup from two third-party web sites is easier than you might have thought.

Text Colour Conventions (see disclaimer)
  1. Blue: Text by me; © Theo Todman, 2019
  2. Mauve: Text by correspondent(s) or other author(s); © the author(s)

© Theo Todman, June 2007 - March 2019. Please address any comments on this page to File output:
Website Maintenance Dashboard
Return to Top of this Page Return to Theo Todman's Philosophy Page Return to Theo Todman's Home Page