Other Sellers on Amazon
+ $3.99 shipping
+ $6.39 shipping
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Frequently bought together
Customers who viewed this item also viewed
From the Author
These are ten of my favorites from the book. Note that many of these use new features of ES5 or of HTML5, and will only work in the newest browsers:
3) Example 9-16 defines a class hierarchy of abstract and concrete Set classes. This one is a favorite because it involves data types and API design. Chapter 9 includes a number of other Set examples, too.
4) Example 9-23 demonstrates the ES5 Object.defineProperty() method and defines a convenient way to inspect and modify the attributes of the properties of an object. It may not be practical, but I think it is a beautiful hack.
5) Example 15-10 is a simple stream-like API wrapped around the innerHTML property of an element. When you're generating text (a table, for example) for display it is sometimes easier to pass each chunk that you compute to a write() method than it is to concatenate it all together and set it on innerHTML.
6) Example 21-03 is an analog clock implemented as an SVG graphic with scriptable hands. I love client-side graphics, and this is a favorite of mine because making the hands rotate is so simple with SVG transforms.
7) Example 21-06 draws a fractal Koch snowflake using the <canvas> tag. I like it because it draws the same line over and over again, but uses transformations to make the line appear at different locations, orientations and sizes.
8) Example 21-13 is another graphical example: it draws sparklines (edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR). This one is a favorite just because sparklines are so cool.
9) Example 22-1 uses the HTML5 geolocation API to find out where you are then uses the Google Maps API to obtain a static map of your location. I like it because geolocation (via wifi networks) is just pure magic!
10) Example 22-15 is a long example that demonstrates the IndexedDB API. I like it because the idea of a client-side database in a web browser is crazy and cool. This one is really cutting-edge, but if you're running Firefox 4, you can try it out here: davidflanagan.com/demos/zipcodes.html
There was a problem filtering reviews right now. Please try again later.
I know this all seems overzealous enough to border on the insincere, but for someone who always had a passion for technology and wanted to create his own, but was beginning to be deterred from it all because I thought it was simply above my grasp, I want to say thank you to David and O'Reilly.
They very may well have single-handedly created a new developer, and have dramatically changed my life in the process.
This book however, despite on the back stating "Prior Programming Experience Recommended", proceeds for most of the book explaining things that someone with prior experience should already know. Also, if you plan on reading this book in a linear fashion to learn JS and avoid missing something by skipping around in the book, you might get very frustrated like I did.
The author explains subjects and gives examples and then many times right afterwards says something similar to "This example contains code or functions that will be explained in a later section."
Also, many people will be buying this guide to do Client-Side JS...ie. in a browser on a webpage. This book doesn't get to that until almost halfway through the book...like 300 pages.
Despite these flaws, the book is EXTREMELY comprehensive. Certainly something to keep on your desk or readily handy if you program in JS often.
Top international reviews
These 3 books never leave my desktop! I have read them all cover to cover, Something I have never done with any other programming books I have ever bought. My bookshelf is littered with Half read, flicked through tomes of regret.
I can honestly say, that getting to understand the worlds most misunderstood programming language has probably been the most enjoyable experience of my programming career!
The authors, style makes this book very approachable, which is a change from a majority of the programming books out there. Most books are either way too academic or far too dumbed down. I feel the author got it just right!
Excellent book, definitely 5 stars without a shadow of a doubt.
This book just covers everything you need to know, its easy to find the stuff you need as the index works very well, and David Flanagan's style is easy to read and understand. It helped me get up to the standard I needed in order to teach the course by 'cherry picking' the knowledge I needed from the book.
The book is over 1000 pages but I'd recommend it to a beginner or to an expert alike.
When I purchase a programming reference book I want to dive straight in and start learning immediately. I don't want to spend good money and many hours reading about useless exercises written in a cringe-worthy, esoterically 'humorous', laid-back style. There are no jokes in this book. Just the facts. Is doesn't waste time trying to win friends. It just tells it how it is.
It's probably not appropriate for a beginner, but I found it very useful.