The Art & Science of JavaScript
by James Edwards, Michael Mahemoff, Ara Pehlivanian, Cameron Adams, Dan Webb, Christian Heilmann and Simon Willison

This title is published by our friends at SitePoint. Please visit them for additional resources.
SitePoint Errata • SitePoint Code • SitePoint Discussion
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.
Out of Print
This book is currently out of print.
About this Book
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 and 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
About the Author
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…

