Description

Summary

More than ever, the internet is a common platform for all sorts of packages, and JavaScript is the language of the internet. In case you are occupied with internet building, it is not sufficient to be a tight JavaScript coder. You want to be ninja-stealthy, environment friendly, and in a position for the rest. This guide displays you the way.

Purchase of the print guide features a loose eBook in PDF, Kindle, and ePub codecs from Manning Courses.

About the Technology

JavaScript is unexpectedly changing into a common language for all sorts of utility, whether or not on the internet, at the personal computer, within the cloud, or on cell units. Whilst you turn into a JavaScript professional, you will have a formidable talent set that’s usable throughout these types of domain names.

About the Book

Secrets of the JavaScript Ninja, 2d Edition makes use of sensible examples to obviously illustrate each and every center idea and methodology. This utterly revised version displays you learn how to grasp key JavaScript ideas similar to purposes, closures, items, prototypes, and guarantees. It covers APIs such because the DOM, occasions, and timers. You’ll uncover best possible observe tactics similar to trying out, and pass-browser building, all taught from the standpoint of professional JavaScript practitioners.

What’s Inside

  • Writing more practical code with purposes, items, and closures
  • Learning to steer clear of JavaScript utility pitfalls
  • Using common expressions to jot down succinct textual content-processing code
  • Managing asynchronous code with promises
  • Fully revised to hide ideas from ES6 and ES7


About the Reader

You don’t need to be a ninja to learn this guide—simply be prepared to turn into one. Are you in a position?

About the Authors

John Resig is an said JavaScript authority and the creator of the jQuery library. Bear Bibeault is a internet developer and creator of the primary version, in addition to coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning. Josip Maras is a put up-doctoral researcher and instructor.

Table of Contents

    PART 1 – WARMING UP

  1. JavaScript is everywhere
  2. Building the web page at runtime
  3. PART 2 – UNDERSTANDING FUNCTIONS

  4. First-magnificence purposes for the newbie: definitions and arguments
  5. Functions for the journeyman: working out serve as invocation
  6. Functions for the grasp: closures and scopes
  7. Functions for the long run: turbines and promises
  8. PART 3 – DIGGING INTO OBJECTS AND FORTIFYING YOUR CODE

  9. Object orientation with prototypes
  10. Controlling get admission to to objects
  11. Dealing with collections
  12. Wrangling common expressions
  13. Code modularization techniques
  14. PART 4 – BROWSER RECONNAISSANCE

  15. Working the DOM
  16. Surviving events
  17. Developing pass-browser strategies