Rapid Underscore.js

Video description

Harness the power of the extensive range of functionalities that come with Underscore.js

About This Video

  • Take functional programming to the next level with the aid of the Underscore library

  • Learn why Underscore is a great addition to any JavaScript programmer’s toolbelt

  • Create an exciting International Space Station project, one step at a time

  • In Detail

    Underscore.js is a library of utility functions for JavaScript that helps to minimize the complexity most users face in building programs, that is, simplifying their JavaScript code. It can be used with any other library or framework and provides many useful methods for this very reason. It works great as an addition to jQuery, Angular.js, Backbone.js, or any other framework you might be using, or you can use it with plain old JavaScript.

    Rapid Underscore.js is a quick introduction to making the most of the Underscore.js library. Using a practical example project it shows you not just how but why you would want to use Underscore.js’ methods.

    We’ll start off by learning what the Underscore.js library is and why you would want to use it, and discover how to incorporate Underscore.js into an existing Browser or Node.JS-based project. Further, we will dive deeper into the Underscore.js concepts that can help us deal with arrays and objects using Underscore's functions for filtering, grouping, and sorting. We will explore JavaScript’s “this” context to manage binding and see how new functions can easily be made by partially applying the existing functions. We’ll control the running of a function using debounce, throttle, once, and after, and also how this leads to simplifying techniques when building user interfaces and dealing with outside data sources. Finally, we'll learn Underscore’s HTML templating abilities and chaining and finish up with a brief taste of libraries that extend Underscore.

    By the end of this course, you will understand how Underscore.js helps you to efficiently develop web applications using a functional approach to JavaScript.

    Product information

    • Title: Rapid Underscore.js
    • Author(s):
    • Release date: March 2015
    • Publisher(s): Packt Publishing
    • ISBN: 9781784391621