Secrets of the JavaScript Ninja, 2nd Ed, video edition

Video description

In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.

"Essential reading for developers of any discipline ... with powerful techniques to improve your JavaScript."
Becky Huett, Big Shovel Labs

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 Video Edition book shows you how.
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.

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
You don't have to be a ninja to read this book—just be willing to become one. Are you ready?

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.

Excellent and comprehensive insight into the magic of functions and closures for the efficient use of JavaScript.
Gerd Klevesaat, Siemens

The essential resource for moving your JavaScript skills to the next level.
David Starkey, Blum

Helps you master both the stealthy and bold techniques of modern JavaScript.
Christopher Haupt, New Relic Inc.

Table of contents

  1. PART 1: WARMING UP
    1. Chapter 1. JavaScript is everywhere
    2. Chapter 1. How will JavaScript evolve?
    3. Chapter 1. Understanding the browser
    4. Chapter 1. Boosting skill transferability
    5. Chapter 2. Building the page at runtime
    6. Chapter 2. The page-building phase
    7. Chapter 2. Executing JavaScript code
    8. Chapter 2. Event handling
    9. Chapter 2. Registering event handlers
  2. PART 2: UNDERSTANDING FUNCTIONS
    1. Chapter 3. First-class functions for the novice: definitions and arguments
    2. Chapter 3. Callback functions
    3. Chapter 3. Fun with functions as objects
    4. Chapter 3. Defining functions
    5. Chapter 3. Function declarations and function expressions
    6. Chapter 3. Arrow functions
    7. Chapter 3. Arguments and function parameters
    8. Chapter 3. Summary
    9. Chapter 4. Functions for the journeyman: understanding function invocation
    10. Chapter 4. The arguments parameter
    11. Chapter 4. Invoking functions
    12. Chapter 4. Invocation as a constructor
    13. Chapter 4. Invocation with the apply and call methods
    14. Chapter 4. Fixing the problem of function contexts
    15. Chapter 5. Functions for the master: closures and scopes
    16. Chapter 5. Putting closures to work
    17. Chapter 5. Tracking code execution with execution contexts
    18. Chapter 5. Keeping track of identifiers with lexical environments
    19. Chapter 5. Understanding types of JavaScript variables
    20. Chapter 5. Variable definition keywords and lexical environments
    21. Chapter 5. Registering identifiers within lexical environments
    22. Chapter 5. Exploring how closures work
    23. Chapter 5. Summary
    24. Chapter 6. Functions for the future: generators and promises
    25. Chapter 6. Working with generator functions
    26. Chapter 6. Using generators
    27. Chapter 6. Communicating with a generator
    28. Chapter 6. Exploring generators under the hood
    29. Chapter 6. Working with promises
    30. Chapter 6. Diving into promises
    31. Chapter 6. Creating our first real-world promise
    32. Chapter 6. Combining generators and promises
    33. Chapter 6. Summary
  3. PART 3: DIGGING INTO OBJECTS FORTIFYING YOUR CODE
    1. Chapter 7. Object orientation with prototypes
    2. Chapter 7. Object construction and prototypes
    3. Chapter 7. Side effects of the dynamic nature of JavaScript
    4. Chapter 7. Achieving inheritance
    5. Chapter 7. The problem of overriding the constructor property
    6. Chapter 7. The instanceof operator
    7. Chapter 7. Using JavaScript “classes” in ES6
    8. Chapter 7. Implementing inheritance
    9. Chapter 8. Controlling access to objects
    10. Chapter 8. Defining getters and setters
    11. Chapter 8. Using getters and setters to validate property values
    12. Chapter 8. Using proxies to control access
    13. Chapter 8. Using proxies for logging
    14. Chapter 8. Using proxies to implement negative array indexes
    15. Chapter 9. Dealing with collections
    16. Chapter 9. Adding and removing items at either end of an array
    17. Chapter 9. Common operations on arrays
    18. Chapter 9. Reusing built-in array functions
    19. Chapter 9. Maps
    20. Chapter 9 . Creating our first map
    21. Chapter 9. Union of sets
    22. Chapter 10. Wrangling regular expressions
    23. Chapter 10. A regular expression refresher
    24. Chapter 10. Terms and operators
    25. Chapter 10. Compiling regular expressions
    26. Chapter 10. Capturing matching segments
    27. Chapter 10. Replacing using functions
    28. Chapter 10. Solving common problems with regular expressions
    29. Chapter 11. Code modularization techniques
    30. Chapter 11. Using objects, closures, and immediate functions to specify modules
    31. Chapter 11. Modularizing JavaScript applications with AMD and CommonJS
    32. Chapter 11. ES6 modules
    33. Chapter 11. Summary
  4. PART 4: BROWSER RECONAISSANCE
    1. Chapter 12. Working the DOM
    2. Chapter 12. Converting HTML to DOM
    3. Chapter 12. Using DOM attributes and properties
    4. Chapter 12. Styling attribute headaches
    5. Chapter 12. Fetching computed styles
    6. Chapter 12. Measuring heights and widths
    7. Chapter 12. Minimizing layout thrashing
    8. Chapter 13. Surviving events
    9. Chapter 13. An example with only macrotasks
    10. Chapter 13. An example with both macro- and microtasks
    11. Chapter 13. Taming timers: time-outs and intervals
    12. Chapter 13. Timer execution within the event loop
    13. Chapter 13. Dealing with computationally expensive processing
    14. Chapter 13. Working with events
    15. Chapter 13. Propagating events through the DOM
    16. Chapter 13. Custom events
    17. Chapter 14. Developing cross-browser strategies
    18. Chapter 14. The five major development concerns
    19. Chapter 14. External code and markup
    20. Chapter 14. Regressions
    21. Chapter 14. Implementation strategies
    22. Chapter 14. Untestable browser issues
    23. Chapter 14. Reducing assumptions

Product information

  • Title: Secrets of the JavaScript Ninja, 2nd Ed, video edition
  • Author(s): John Resig, Bear Bibeault, Josip Maras
  • Release date: August 2016
  • Publisher(s): Manning Publications
  • ISBN: None