- Series: Definitive Guides
- Paperback: 1096 pages
- Publisher: O'Reilly Media; 6th edition (May 13, 2011)
- Language: English
- ISBN-10: 0596805527
- ISBN-13: 978-0596805524
- Product Dimensions: 7 x 2.4 x 9.2 inches
- Shipping Weight: 3.9 pounds (View shipping rates and policies)
- Average Customer Review: 192 customer reviews
- Amazon Best Sellers Rank: #46,227 in Books (See Top 100 in Books)
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.
Other Sellers on Amazon
+ $3.99 shipping
+ $5.94 shipping
+ $3.99 shipping
|New from||Used from|
"The Other Woman" by Sandie Jones
“The Other Woman is an absorbing thriller with a great twist. A perfect beach read.” ― Kristin Hannah, #1 New York Times bestselling author of "The Great Alone" Pre-order today
Frequently bought together
Customers who bought this item also bought
Activate Your Web Pages
From the Author
My 10 Favorite Examples from this Book
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
Top customer reviews
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.
Most recent customer reviews
I had to give it up...it was just taking too long to get thru very basic topics. JS is a language.Read more