small medium large xlarge

The Art & Science of JavaScript


Cover image for The Art & Science of JavaScript

The Art & Science of JavaScript


We’ve assembled seven of the greatest minds in modern JavaScript to teach you the most inspirational techniques you’ll ever use. From creating impressive mashups and stunning, dynamic graphics, to more subtle user-experience enhancements, you’re about to be amazed by the true potential of this powerful language.

About this Title

Pages: 258
Published: 2008-01-01
ISBN: 978-0-9802-8584-0

Among its many treasures, this book will show you how to:

  • Create a slick Google Maps and Flickr mashup.
  • Build your own fully accessible 3D maze.
  • Have some fun with draggable and sortable table columns.
  • Give your site some extra personality with client-side badges.
  • Write better code faster using metaprogramming techniques.
  • Create stunning vector graphics using the canvas element.
  • Become a debugging expert using pro-level Firebug tricks

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.

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.

Contents & Extracts

  • Chapter 1: Fun with Tables
  • Chapter 2: Creating Client-side Badges
  • Chapter 3: Creating Vector Graphics with canvas
  • Chapter 4: Debugging and Profiling with Firebug
  • Chapter 5: Metaprogramming with JavaScript
  • Chapter 6: Building a 3D Maze with CSS and JavaScript
  • Chapter 7: Flickr and Google Maps Mashups


You won’t find a better line-up of JavaScript experts. Between the seven authors you’ll already find loads of books, a huge list of achievements and years upon years of dedication to JavaScript. If you’re wondering how they program JavaScript in heaven, you’ve just found the stairway…