Secrets of the JavaScript Ninja Author: John Resig | Language: English | ISBN:
193398869X | Format: PDF
Secrets of the JavaScript Ninja Description
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 you come at it sideways or sneak up from behind. You need to master 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 to JavaScript enlightenment. This unique book starts with key concepts, like the relationships between functions, objects, and closures, taught from the master's perspective. You'll grow from apprentice to ninja as you soak up fresh insights on the techniques you use every day and discover features and capabilities you never knew about. When you reach the final chapters, you'll be ready to code brilliant JavaScript applications and maybe even write your own libraries and frameworks.
You don't have to be a ninja to read this book—just be willing to become 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 creator of the jQuery library. Bear Bibeault is a web developer and coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning.
Table of Contents
PART 1 PREPARING FOR TRAINING
Enter the ninjaArming with testing and debugging PART 2 APPRENTICE TRAINING
Functions are fundamentalWielding functionsClosing in on closuresObject-orientation with prototypesWrangling regular expressionsTaming threads and timers PART 3 NINJA TRAINING
Ninja alchemy: runtime code evaluationWith statementsDeveloping cross-browser strategiesCutting through attributes, properties, and CSS PART 4 MASTER TRAINING
Surviving eventsManipulating the DOMCSS selector engines- Paperback: 392 pages
- Publisher: Manning Publications; 1 edition (December 28, 2012)
- Language: English
- ISBN-10: 193398869X
- ISBN-13: 978-1933988696
- Product Dimensions: 9.2 x 7.4 x 0.9 inches
- Shipping Weight: 1.3 pounds (View shipping rates and policies)
Resig's earlier effort "Pro JavaScript Techniques" was a good read for its time but got spread thin by getting engrossed in the details of normalizing the DOM API which is something I already had quirksmode.org for as my go-to and that subject is now increasingly less complicated the closer you get to ditching IE8 support.
This is in my experience, the first book to really properly focus on all of the stuff that comes together to really make JavaScript unique and powerful as a language, which has in the past been an understanding you could really only come to by tinkering with JS and reading/borrowing from generous web contributions from Resig, (maybe) Crockford, and IMO, JS-superstar whose name is not sung enough (not for a lack of trying by Resig among others) Dean Edwards whose background in Scheme helped him help the rest of us understand JS for the true complexity-reducing and normalizing beast that it is.
JS didn't come out on top as the only client-side browser option worth pursuing by accident and the view-point that we're "stuck" with it is one that should hopefully be hastily remedied by reading about and understanding what a marvel JS really is when you stop blaming it for Microsoft's tomfoolery and get over the fact that Eich wrote the original version in ten days. That was 17 years ago. JS has evolved constantly since then and hasn't spread to the server, OS, and become the ultimate pan-mobile solution by accident either.
My general sense of the writing is that Resig as always is good at distilling the seemingly complex into bite sized pieces while Bear makes them go down much more easily.
Secrets of the JavaScript Ninja Preview
Link
Please Wait...