Secrets of the JavaScript Ninja, Second Edition

  • 6h 43m
  • Bear Bibeault, John Resig, Josip Maras
  • Manning Publications
  • 2016

Summary

More than ever, the web is a universal platform for all types of applications, and JavaScript is the language of the web. If you're serious about web development, it's not enough to be a decent JavaScript coder. You need to be ninja-stealthy, efficient, and ready for anything. This book shows you how.

About the Technology

JavaScript is rapidly becoming a universal language for every type of application, whether on the web, on the desktop, in the cloud, or on mobile devices. When you become a JavaScript pro, you have a powerful skill set that’s usable across all these domains.

About the Book

Secrets of the JavaScript Ninja, Second Edition uses practical examples to clearly illustrate each core concept and technique. This completely revised edition shows you how to master key JavaScript concepts such as functions, closures, objects, prototypes, and promises. It covers APIs such as the DOM, events, and timers. You’ll discover best practice techniques such as testing, and cross-browser development, all taught from the perspective of skilled JavaScript practitioners.

What’s Inside

  • Writing more effective code with functions, objects, and closures
  • Learning to avoid JavaScript application pitfalls
  • Using regular expressions to write succinct text-processing code
  • Managing asynchronous code with promises
  • Fully revised to cover concepts from ES6 and ES7

About the Reader

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

About the Authors

John Resig is an acknowledged JavaScript authority and the creator of the jQuery library. Bear Bibeault is a web developer and author of the first edition, as well as coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning. Josip Maras is a post-doctoral researcher and teacher.

In this Book

  • ES6 Cheat Sheet
  • Author's Introduction
  • About This Book
  • JavaScript is Everywhere
  • Building the Page at Runtime
  • First-Class Functions for the Novice—Definitions and Arguments
  • Functions for the Journeyman—Understanding Function Invocation
  • Functions for the Master—Closures and Scopes
  • Functions for the Future—Generators and Promises
  • Object Orientation with Prototypes
  • Controlling Access to Objects
  • Dealing with Collections
  • Wrangling Regular Expressions
  • Code Modularization Techniques
  • Working the DOM
  • Surviving Events
  • Developing Cross-Browser Strategies
SHOW MORE
FREE ACCESS