Sponsored
Buy New
-75% $10.19
FREE delivery May 5 - 11
Ships from: Sandman355 L.L.C
Sold by: Sandman355 L.L.C
$10.19 with 75 percent savings
List Price: $39.99 Image
FREE delivery May 5 - 11. Details
Or fastest delivery Thursday, April 30. Order within 3 hrs 51 mins. Details
Only 2 left in stock - order soon.
$$10.19 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$10.19
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Returns
30-day refund/replacement
30-day refund/replacement
Quick refund
Usually issued within 24 hours. See exceptions
Shipping fee
May apply, not eligible for free return. See details
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$1.86
Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... See less
$3.98 delivery Tuesday, May 5. Details
Or fastest delivery Thursday, April 30. Order within 4 hrs 51 mins. Details
Only 2 left in stock - order soon.
$$10.19 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$10.19
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Secrets of the JavaScript Ninja

Follow the authors

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Secrets of the JavaScript Ninja First Edition

4.4 out of 5 stars (140)

{"desktop_buybox_group_1":[{"displayPrice":"$10.19","priceAmount":10.19,"currencySymbol":"$","integerValue":"10","decimalSeparator":".","fractionalValue":"19","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"AABganeGiZivZTc%2BXO%2B8LsBfFdV0IhbtNvOPOBVL0rJRyGbtjLjhiZUkPt0z42yrzSTs8dPxGjaLCg99ObQxz09cgqgi4sgBYWpn4LWclwKkwEhGdviRDGByKY2o5gVreJNyXoFpT%2BjQxDwwsJYeF1RcgbII5jB0%2BT4SdXsU%2Ft1%2FSURLNSrTuWvnLLGspmX8","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$1.86","priceAmount":1.86,"currencySymbol":"$","integerValue":"1","decimalSeparator":".","fractionalValue":"86","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"AABganeGiZivZTc%2BXO%2B8LsBfFdV0IhbtA3wKKS%2BksqKsUQG6S5WJzk4sjY33mVVhT5tb%2FdvI8339vf3TqhXMriLWtyzAmyWPOJCNnEQkjgsafjxvHoJhqxlWXkJe14iT4AR6KASIvBWzfL7QdGZdgIXnU%2BtpWiEesXbiJQzxIA%2BVgfYTWHRchDqfkJijmoNw","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Summary

Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up.

About this Book

You can't always attack software head-on. Sometimes youcome at it sideways or sneak up from behind. You need tomaster an arsenal of tools and know every stealthy trick.You have to be a ninja.

Secrets of the JavaScript Ninja leads you down the pathway toJavaScript enlightenment. This unique book starts with keyconcepts, like the relationships between functions, objects, andclosures, taught from the master's perspective. You'll grow fromapprentice to ninja as you soak up fresh insights on the techniquesyou use every day and discover features and capabilities you neverknew about. When you reach the final chapters, you'll be ready tocode brilliant JavaScript applications and maybe even write yourown libraries and frameworks.

You don't have to be a ninja to read this book—just be willing tobecome one. Are you ready?

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

What's Inside
  • Functions, objects, closures, regular expressions, and more
  • Seeing applications and libraries from the right perspective
  • Dealing with the complexities of cross-browser development
  • Modern JavaScript design

About the Authors

John Resig is an acknowledged JavaScript authority and the creatorof the jQuery library. Bear Bibeault is a web developer and coauthorof Ajax in Practice, Prototype and Scriptaculous in Action, and jQueryin Action from Manning.

Table of Contents
  1. PART 1 PREPARING FOR TRAINING
  2. Enter the ninja
  3. Arming with testing and debugging
  4. PART 2 APPRENTICE TRAINING
  5. Functions are fundamental
  6. Wielding functions
  7. Closing in on closures
  8. Object-orientation with prototypes
  9. Wrangling regular expressions
  10. Taming threads and timers
  11. PART 3 NINJA TRAINING
  12. Ninja alchemy: runtime code evaluation
  13. With statements
  14. Developing cross-browser strategies
  15. Cutting through attributes, properties, and CSS
  16. PART 4 MASTER TRAINING
  17. Surviving events
  18. Manipulating the DOM
  19. CSS selector engines

There is a newer edition of this item:

Secrets of the JavaScript Ninja
$21.83
(119)
Only 5 left in stock (more on the way).

Editorial Reviews

About the Author

John Resig is the Dean of Open Source and head of JavaScript development at Khan Academy and the author of the book Pro JavaScript Techniques. He's also the creator and lead developer of the jQuery JavaScript library.

Bear Bibeault has been working in the area of web applications since the mid-nineties, getting started with beta versions of JSP and Servlets. He is a senior moderator at the popular JavaRanch site, and has contributed articles to the JavaRanch Journal as well as Dr Dobb's Journal online. He is a co-author of several Manning books including Ajax in Practice, Prototype and Scriptaculous in Action, jQuery in Action, and jQuery in Action, Second Edition. He works and resides in Austin, Texas.

Product details

  • Publisher ‏ : ‎ Manning
  • Publication date ‏ : ‎ January 17, 2013
  • Edition ‏ : ‎ First Edition
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 392 pages
  • ISBN-10 ‏ : ‎ 193398869X
  • ISBN-13 ‏ : ‎ 978-1933988696
  • Item Weight ‏ : ‎ 1.44 pounds
  • Dimensions ‏ : ‎ 7.38 x 0.7 x 9.25 inches
  • Best Sellers Rank: #3,135,626 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.4 out of 5 stars (140)

About the authors

Follow authors to get new release updates, plus improved recommendations.
Sponsored

Customer reviews

4.4 out of 5 stars
140 global ratings
Sponsored

Customers say

Customers find this JavaScript book to be a must-have for web developers, praising its thorough examples and clear language. Moreover, the writing style receives positive feedback for being well-written. However, customers disagree on the book's readability, with some finding it easy to understand while others say it's not an easy read. Additionally, customers disagree on the book's suitability for developers, with one noting it's not suitable for novices.
AI Generated from the text of customer reviews

Select to learn more

42 customers mention content, 41 positive, 1 negative
Customers praise the book's content, describing it as a brilliant introduction to JavaScript and a must-have for web developers.
Amazing book. Despite having read a few intermediate level books prior to this I learned a lot in short order. Highly recommended.Read more
Great book, a must have for any javascript enthusiast. Very clear, with examples, useful. Good for both beginners and seniorsRead more
A terrific book with thorough examples; worth the $ I spent....Read more
One of the best JavaScript BooksRead more
12 customers mention examples, 12 positive, 0 negative
Customers find the book's examples thorough and useful, with one customer highlighting its value for learning critical JavaScript features and another noting its coverage of advanced design methods.
A terrific book with thorough examples; worth the $ I spent....Read more
...based capability are carefully and clearly explained with lots of examples that you can run and explore....Read more
Great book with very good examples covering a large breadth of the JavaScript language....Read more
Great book, a must have for any javascript enthusiast. Very clear, with examples, useful. Good for both beginners and seniorsRead more
12 customers mention language understanding, 11 positive, 1 negative
Customers appreciate the book's plain vocabulary and clarity, with one customer noting it provides a solid understanding of JavaScript's core language.
Absolutely loved it - both content and style it's written in. Very clear and consistent. You can easily follow the author's thought flow and examples.Read more
A tremendous book. It explains nice and in a very plain vocabulary....Read more
...is heavily concentrated on explaining why JavaScript is a functional programming language and how that can be used by the developer....Read more
...most other web development books, primarily because it considers JS as a full fledge language which is the correct approach to explain javascript....Read more
8 customers mention writing style, 7 positive, 1 negative
Customers appreciate the writing style of the book, finding it well written, with one customer noting that it's easy to follow the author's thought flow.
The book is well written, concise and easy to understand. If you're relatively new to JS, this should be a good read....Read more
great book well written a lot of good tips and not too wordyRead more
I really like the way this book is written. You will have no problems with reading it cover to cover if you are a little familiar with javascript....Read more
John Resig always writes clearly with a unique and valuable perspective....Read more
8 customers mention suitable for developers, 5 positive, 3 negative
Customers have mixed opinions about the book's suitability for developers, with some finding it essential for JavaScript enthusiasts, while others note it is not suitable for beginners.
Great book, a must have for any javascript enthusiast. Very clear, with examples, useful. Good for both beginners and seniorsRead more
A terrific book with thorough examples; worth the $ I spent. Not for the novice developer but great for those with a couple of years of experience...Read more
...Just what I expected from John Resig. Excellent for the developer using JS in a ASP.NET MVC front-end environment as well.Read more
...For that alone, this is the go to book on all things JS. Caution: This is not to be treated as a first book on Javascript....Read more
7 customers mention readability, 4 positive, 3 negative
Customers have mixed opinions about the book's readability, with some finding it easy to understand while others say it's not an easy read.
...and do a very good job at presenting the material in an easy to understand manner.Read more
Not an easy read, but that's what you would expect from the books title....Read more
The book is well written, concise and easy to understand. If you're relatively new to JS, this should be a good read....Read more
...this book is good but reading is difficultRead more

Top reviews from the United States

  • Reviewed in the United States on December 14, 2014
    Format: PaperbackVerified Purchase
    (Must READ) Book for every new and experienced web designer/developer. As an experienced full-stack web developer and instructor for more than 8 years, this is one of the most usable and skill developer books about JavaScript that I have ever seen. You should have previous exposure to JavaScript/CSS/HTML and some Ajax concepts and if you have Back-end technology on hand as well, it will help you to get the most out of the concepts covered in this book. I love the flow of information, relevant and clean code examples and explanations.

    There is no escape from learning advanced JavaScript techniques and tools unless you decide to work as anything else but not Web industry expert. Forget about everything you knew about JavaScript since 10 years ago, This programming language has been changed a lot and is not a simple-to-ignore technology anymore. If you are a serious web expert (or want to be), use quality materials available in the market.This book is one of them without any doubt.
    One person found this helpful
    Report
  • Reviewed in the United States on December 2, 2013
    Format: PaperbackVerified Purchase
    I am still reading the book and I have to say that so far I have enjoyed it. Even for a relatively new javascript programmer, this book is excellent in catching concepts that are ignored in most other web development books, primarily because it considers JS as a full fledge language which is the correct approach to explain javascript. That being said, a mastery of any object oriented programming language such as Java definitely helps to grasp the concepts explained in this book.

    Its a good buy, and I highly recommend it. Appreciate the author's sense of humor every once in a while - its like a team member actually explaining stuff to you during code reviews :)
    3 people found this helpful
    Report
  • Reviewed in the United States on March 21, 2013
    Format: PaperbackVerified Purchase
    I really like the way this book is written. You will have no problems with reading it cover to cover if you are a little familiar with javascript. Even though I have written a fair amount of javascript code and used jquery and other popular js libraries, still I did learn a lot. The examples are amazing. They are really clearly discussed, and I believe it is due to Bierault's technical writing chops.
    One person found this helpful
    Report
  • Reviewed in the United States on November 6, 2013
    Format: PaperbackVerified Purchase
    This book gives great insight into the working of functions and closures in Javascript.
    What is nice is that every bit of theory is accompanied with some code examples from libaries like jQuery or Prototype, and the examples are explained very well.

    One minor negative point is that there are also a lot of pages in the book which are dedicated to deprecated statements like 'eval' and 'with'. It's nice to know how they work, but you shouldn't use them anyway so an entire chapter for each of them seems like too much attention.
    3 people found this helpful
    Report
  • Reviewed in the United States on February 16, 2014
    Format: PaperbackVerified Purchase
    This is a really brilliant book that clearly explains WHY JavaScript has become the first choice for developing web applications on both client and server. The subtleties and nuances of closures and function based capability are carefully and clearly explained with lots of examples that you can run and explore.

    The title and Ninja theme may seem a little silly, but don't be fooled. This is a serious and brilliantly conceived and executed tour of this powerful development language.
    2 people found this helpful
    Report
  • Reviewed in the United States on January 26, 2014
    Format: PaperbackVerified Purchase
    One respect where the title is accurate in that this book is about coding Javascript directly, _not_ about coding to the interface of any library (like jQuery) that rides on top of Javascript. I found the explanations of "closures", of _exactly_ what it means for functions to be "first-class objects", and of function names and anonymous functions, very enlightening ...perhaps the best parts of the book.

    I was somewhat hoping for a whole lot of nuggets for improving the conciseness and clarity and performance of my coding style, perhaps showing how best to take advantage of the structure of the language, or how best to code recurring structures such as looping.. But that isn't the focus of the book. A few gems are indeed spun off in the process of covering other topics, but there aren't oodles of them.

    Disagreement with other Javascript luminaries, and with the direction of Javascript standards development, is often ignored or underplayed or muted. Although there is obvious potential for disagreement, controversy is definitely not the book's zeitgeist.

    The book largely skirts the issue of Javascript being more "object oriented". There's a clear statement that at root Javascript is _not_ object-oriented, and a strong hint this isn't necessarily a bad thing. Also, some simple tricks for making Javascript _seem_ much more object-oriented than it appears at first glance are presented briefly in scattered locations. But there the coverage ends, without any theoretical underpinning nor in-depth discussion nor even any strong opinions.

    Although two authors are listed, this is basically John Resig's book. A very few paragraphs did hint at tag-team authoring. But I suspect (but don't know for sure:-) mostly the publisher added the second author in exasperation over finally getting the book finished and out after almost five years.

    The book isn't real clear just who its audience is: maintenance coders? creators of libraries? language nerds? The good thing about this ambiguity is the topics covered range more widely than expected.

    Much of the second half of the book is various nitty-gritty details about coding around all the cross-browser and language-version and interpreter-implementation issues one runs into. Specific examples of the various quirks and workarounds were sometimes so bizarre it was clear there'd be little chance of an individual ever solving them. My overall takeaway from the second half of the book was that in almost all cases one should code to some sort of covering library (like jQuery) that handles all the quirks in a transparent way, rather than to Javascript directly. (I also picked up the suggestion Javascript would be easier in some future where IE6/IE7/IE8/IE9 have only insignificant market share.)

    (Readers from different backgrounds will of course see the book very differently, so let me describe my own background: I'm a retired programmer who professionally used other languages exclusively and whose only acquaintance with Javascript comes from home use. I do have extensive experience with the related C though; for example I'm quite comfortable with and routinely use the difference between pre-increment and post-increment. I'm not a computer language nerd, nor even someone with a relatively good coding style overall. On the other hand, I was already fairly comfortable with some of the more obscure details of various Javascript implementations.)
    18 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Shardul
    5.0 out of 5 stars The Good Parts" and you'd have covered all possible language features ...
    Reviewed in India on June 4, 2015
    Format: PaperbackVerified Purchase
    Sure shot way to go from novice to ninja ! Enjoying every moment with it ! Supplement this book with Douglas Crockford's "JavaScript, The Good Parts" and you'd have covered all possible language features of the language.
  • Juzan
    5.0 out of 5 stars Un régale
    Reviewed in France on March 30, 2014
    Format: PaperbackVerified Purchase
    Pour tout ceux qui veulent en savoir plus sur ce langage qui peut être le meilleur ami du dev web (comme son pire cauchemar:))
    Report
  • Félix
    5.0 out of 5 stars Very good book to clarify concepts
    Reviewed in Spain on April 29, 2013
    Format: PaperbackVerified Purchase
    Not a book for begginers, you can read it to became a JavaScript ninja. Not so hard, you don't need to be a JavaScript advanced programmer to understand it.

    But if you are an high skill programmer, you can read it to clarify and order concepts.
  • Christian Del Bianco
    5.0 out of 5 stars Very good book
    Reviewed in Italy on March 16, 2016
    Format: PaperbackVerified Purchase
    It is a great javascript book. Is not for beginner.
    It is a deep tour on closure, JS object and inheritance.
    It is well written and with clear examples.
    It is he best book I have ever read on JS.
  • Huw Jeffries
    5.0 out of 5 stars Excellent coverage of Javascript
    Reviewed in the United Kingdom on June 23, 2013
    Format: PaperbackVerified Purchase
    This book provides a great intermediate to advanced coverage of Javascript. (I don't recommend it for absolute beginners). I've also read "Javascript the good parts" by Douglas Crockford, which good but quite short and made the reader work hard to fill in the gaps / understand the examples. Secrets of the JavaScript Ninja is much easier reading and covers the material at a more leisurely pace.