Secrets of the JavaScript Ninja 1st Edition
| John Resig (Author) Find all the books, read about the author, and more. See search results for this author |
| Bear Bibeault (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
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
- Enter the ninja
- Arming with testing and debugging
- Functions are fundamental
- Wielding functions
- Closing in on closures
- Object-orientation with prototypes
- Wrangling regular expressions
- Taming threads and timers
- Ninja alchemy: runtime code evaluation
- With statements
- Developing cross-browser strategies
- Cutting through attributes, properties, and CSS
- Surviving events
- Manipulating the DOM
- CSS selector engines
PART 1 PREPARING FOR TRAINING
PART 2 APPRENTICE TRAINING
PART 3 NINJA TRAINING
PART 4 MASTER TRAINING
Frequently bought together
Customers who viewed this item also viewed
Editorial Reviews
About the Author
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.
I'd like to read this book on Kindle
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Manning; 1st edition (January 17, 2013)
- Language : English
- Paperback : 392 pages
- ISBN-10 : 193398869X
- ISBN-13 : 978-1933988696
- Item Weight : 1.5 pounds
- Dimensions : 7.38 x 0.7 x 9.25 inches
- Best Sellers Rank: #326,696 in Books (See Top 100 in Books)
- #126 in JavaScript Programming (Books)
- #135 in Java Programming
- #202 in Object-Oriented Design
- Customer Reviews:
About the authors

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.
Currently, John is located in Boston, MA. He’s hard at work on his second book, Secrets of the JavaScript Ninja.

Bear Bibeault has been writing software for over three decades, starting with a Tic-Tac-Toe program written on a Control Data Cyber supercomputer via a 100-baud teletype. Because he has two degrees in Electrical Engineering, Bear should be probably designing antennas or something like that, but since his first job with Digital Equipment Corporation, he has always been much more fascinated with programming.
Bear has also served stints with companies such as Dragon Systems, Works.com, Logitech, and even served in the U. S. Military teaching infantry soldiers how to blow things up; the latter teaching him skills crucial for working in Agile software teams.
Bear is currently a front-end developer for the Washington Post.
In addition to his day job, Bear also writes books (who knew?), runs a small business that creates web applications and offers other media services (but not wedding videography, never wedding videography), and helps to moderate CodeRanch.com as a "marshal" (senior moderator).
When not planted in front of a computer, Bear likes to cook big food (which accounts for his jeans size), dabble in photography and video editing, ride his Yamaha V-Star, and wear tropical print shirts.
He works and resides in Austin, TX.
Customer reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The other half of the book explains everything that you will need to develop well structured JavaScript code.
The only remark I have for this book is about the 'Regular Expressions' chapter, in my opinion it is not written very clear and can be confusing, but it is fer to say that the authors are suggesting additional literature for getting familiar with regular expressions.
Big plus is that all the source code form the book examples is very well structured and packed in zip file that enables you to quickly try the examples on computer.
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 :)
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.
instead code should be more expressive . bigger font than other text
different font with smaller size is terrible to read
I am avoiding Manning books cause of that
this book is good but reading is difficult
It'll show you how to get started with the main and basics concepts of JavaScript. Will start showing code and core functions for later keep introducing all the implementations that we can do. First JavaScript, Tests, Libraries differences (or implementations from JavaScript frameworks) and jQuery.
Reading this, will make you adopt in a very easy way any framework or JavaScript library.









