Secrets of the JavaScript Ninja

Front Cover
Manning, 2013 - Computers - 370 pages

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

PART 1 PREPARING FOR TRAINING
  • Enter the ninja
  • Arming with testing and debugging
  • PART 2 APPRENTICE TRAINING
  • Functions are fundamental
  • Wielding functions
  • Closing in on closures
  • Object-orientation with prototypes
  • Wrangling regular expressions
  • Taming threads and timers
  • PART 3 NINJA TRAINING
  • Ninja alchemy: runtime code evaluation
  • With statements
  • Developing cross-browser strategies
  • Cutting through attributes, properties, and CSS
  • PART 4 MASTER TRAINING
  • Surviving events
  • Manipulating the DOM
  • CSS selector engines

What people are saying - Write a review

User Review - Flag as inappropriate

This is excellent book. In the starting means when i buy this book it is seems very absurd but after reading this book really i learn more new trick and many secret about javascript. Thanks john for this book..

About the author (2013)

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.

Bibliographic information