The Art & Science of JavaScript and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading The Art & Science of JavaScript on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The Art and Science of JavaScript [Paperback]

Cameron Adams , James Edwards , Christian Heilmann , Michael Mahemoff , Ara Pehlivanian , Dan Webb , Simon Willison

List Price: CDN$ 47.50
Price: CDN$ 26.30 & FREE Shipping. Details
You Save: CDN$ 21.20 (45%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it delivered Thursday, September 18? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $9.99  
Paperback CDN $26.30  
Save Up to 90% on Textbooks
Hit the books in's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada

Book Description

Dec 31 2007 0980285844 978-0980285840 1

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.

With an all star line-up of authors including James Edwards, Michael Mahemoff, Ara Pehlivanian, Cameron Adams, Dan Webb, Christian Heilmann, and Simon Willison, this superb book will show you how to:

  • Create a slick Google Maps and Flickr mashup.
  • Build your own fully accessible 3D maze.
  • Create stunning vector graphics using the canvas element.
  • 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.
  • Become a debugging expert using pro-level Firebug tricks.

    Presented in full color, all of the books solutions are cross-browser and cross-platform compatible. Best of all, all the code used in the book is available for you to download and experiment with.

    Who Should Read This Book?

    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 have even a small amount of experience with JavaScript, and 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.

  • Customers Who Bought This Item Also Bought

    Product Details

    Product Description

    About the Author

    Cameron Adams is an author of multiple web development books and is often referred to as a "Web Technologist." In addition to his extensive JavaScript experience, Cameron's passions extend to CSS, PHP, and graphic design.

    Customer Reviews

    There are no customer reviews yet on
    5 star
    4 star
    3 star
    2 star
    1 star
    Most Helpful Customer Reviews on (beta) 4.3 out of 5 stars  7 reviews
    21 of 21 people found the following review helpful
    4.0 out of 5 stars Artfully scientific Feb. 1 2008
    By Tommy Olsson - Published on
    This is a very interesting book for anyone who is interested in going to the 'next level' of JavaScript. It's not a book for absolute beginners, but everything is very well explained without wasting time on trivia.

    The chapter on metaprogramming (self-modifying code) is my favourite. Not only because it presents some very useful ideas, but also because it finally made me understand how JavaScript does certain things under the bonnet.

    James Edward's Maze game is nothing short of a-maze-ing. It's a fine example of what you can do if you have the ability to think outside the box. (Way outside, in this case!)

    The only negative part is the first chapter. Not because it's not useful -- it is! -- and not because it's badly written -- it isn't. The reason is that the code samples use XHTML markup but the JavaScript code will not work if that markup is served as real XHTML. The JavaScript relies on the HTML DOM, e.g., that nodeName properties are returned in uppercase. The use of character entity references is also ill-advised for XHTML.

    Unfortunately, there isn't any informtion about this in the text. Someone who isn't well-versed in the fundamental differences between HTML and XHTML would learn some harmful practices.

    The sad part is that it would have been so easy to write the JavaScript in a way that would have worked in both the HTML DOM and the XML DOM.

    The remainder of the book contains good code examples which don't sacrifice accessibility.

    Having said that, I would definitely recommend this book for anyone who wants to learn how to use JavaScript for something other than validating form input.
    14 of 14 people found the following review helpful
    4.0 out of 5 stars Solid Learning Experience Feb. 2 2008
    By Brett Merkey - Published on

    I saw a bunch of things I *wanted* to criticize about this book but ended up being more positive as I began to see the educational value of the chapters. This book is not for absolute beginners by any means, however the material is presented in a smooth way as each script addition is explained separately.

    Do NOT expect to come away from the book's chapters with code that can be immediately applied to a typical professional application or Web site. Things like a JavaScripted maze game can be great for learning some cool things but that is all.

    Even the practical-sounding features like table column sorting and table column dragging could not be applied to a production situation without considerable modification. For instance, the column dragging scenario depends on all columns having similar width. If not, then the result is pretty messy. And we all know that data tables can be messy in the best of cases!

    The index is miserable, but that is pretty much the rule for computer tech books.

    The ensemble of authors is top-notch and some, like Christian Heilmann, (Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional) have written excellent books you may want to check out. You really can't go wrong with this book for a solid advance in your script education.

    3 of 3 people found the following review helpful
    4.0 out of 5 stars Ask Felgall - Book Review Nov. 20 2011
    By Stephen Chapman - Published on
    Each of the seven chapters in this book was written by a different author who provides you with an example project where they demonstrate some of the more advanced tasks that JavaScript can perform. Some of these projects are useful in themselves while others serve more to illustrate particular coding techniques but in all seven chapters you are presented with ways of using JavaScript that are not all that obvious to most JavaScript programmers.

    This book doesn't present JavaScript the way most people use it, it presents JavaScript the way that it could (and to some extent probably should) be used. While some of the example tasks are not all that useful in themselves, the code used to achieve those tasks demonstrates what can be achieved with a proper understanding of JavaScript. While JavaScript gives the appearance of being fairly similar to a number of other languages, the way that it really works is quite different and the examples in this book make it really clear what some of these differences are.

    I do not necessarily agree with the ways that some of the examples have been coded (there are some parts I would have written differently) but then as the first author indicates, there are multiple ways of coding many of the things that can be done with JavaScript. There are also some coding examples included that have me wondering why I didn't think of doing it that way.

    For anyone with a moderate level of programming experience this book will provide the opportunity to raise your JavaScript programming skills to the next level.
    4 of 5 people found the following review helpful
    4.0 out of 5 stars Art and Science Mashup May 17 2008
    By Christopher V. Treen - Published on
    As identified by the previous reviewers as one of those people wanting to take my Javascript to the next level, I am finding this book just right.

    Just enough code to help me along (note: Not all code is in the book, no CD, but can be downloaded), with enough explanations that leave me space to think, i.e. not all spoon fed. The style is free and easy to read, put down, and come back to later after having thought about it for a while.

    I originally bought it because of the Google Maps mashup in the last chapter, but have avidly read the others too. Although some rely on information in previous chapters, most can be read as stand-alone projects.
    4.0 out of 5 stars Good reference. April 21 2014
    By Timothy Lusk - Published on
    Format:Paperback|Verified Purchase
    I had this book in my library for a few years. It was a great source and learning tool when I needed to solution to the problem at hand. If you're one to collect and build physical libraries for your office, it's a good one to have.

    Look for similar items by category