O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Lodash 4.0

Video Description

A comprehensive guide to fast and efficient functional JavaScript Web Development with Lo-Dash 4.0

About This Video

  • Deploy your application ready for production using minification

  • Build a reusable base view framework using Lodash for future application development

  • Create build tasks for your JavaScript applications that use Lodash modules

  • In Detail

    Lodash was built to simplify JavaScript application development. It contains hundreds of methods built for the purpose of providing developers with a fast, reliable, cross-browser toolkit to write applications. With Lodash, you can eliminate rewriting boilerplate code and focus on developing the features your users want.

    This course takes you through the process of setting up, building, and scripting the deployment of a JavaScript application built using Lodash. Each section explores a new Lodash API, and employs methods within to build new application features.

    First, we cover the origins of Lodash and how it has become an indispensable tool for JavaScript developers. We will also install our application and its dependencies. Then we’ll build out the features of an application to explore, create, and tag recipes. This includes building both an API in Node.JS and a client-side application using Lodash.

    At the end, we’ll write a script to minify our application for deployment, and look at alternate deployment methods using Lodash CLI. This course will provide you with practical uses of Lodash in JavaScript development that you can apply in future applications. By the end of the book, you'll know the principles of building structured and modular applications using Lodash.

    Table of Contents

    1. Chapter 1 : Hello Lodash!
      1. The Course Overview 00:03:18
      2. Introduction to Lodash 00:04:18
      3. Installing the Sample Application 00:03:59
      4. Installing Lodash 00:04:42
      5. Adding Lodash to the Application 00:05:04
    2. Chapter 2 : Working with a List of Recipes
      1. Displaying a Collection of Recipes 00:10:51
      2. Filtering Recipes by User 00:09:44
      3. Displaying Recipe Tag Totals 00:06:14
      4. Finding a Recipe in the Collection 00:05:30
    3. Chapter 3 : Creating and Tagging a Recipe
      1. Entering a Unique Set of Tags 00:07:31
      2. Adding New Tags to the Data Store 00:06:30
      3. Displaying Tags for a Recipe 00:06:19
      4. Adding and Removing Recipe Tags 00:09:44
    4. Chapter 4 : Writing Components for the Recipe App
      1. Extending the Properties of the Base Controller 00:08:04
      2. Sharing Events with Other Components 00:07:38
      3. Creating a Shared Input Component 00:08:30
      4. Creating a Search Input Component 00:10:09
    5. Chapter 5 : Displaying Recipe and User Details
      1. Escaping, Trimming, and Padding Strings 00:08:07
      2. Truncating a Description for Display 00:07:11
      3. Writing a Template to Display Recipe Details 00:09:34
      4. Formatting User Details 00:08:43
    6. Chapter 6 : Other Lodash Utilities Used in the Application
      1. Adding the Timestamp of a User Login 00:10:13
      2. Creating a Login Form 00:11:34
      3. Saving and Retrieving Recipe Ingredients 00:10:06
      4. Adding Ingredients to the Recipe Form 00:10:25
    7. Chapter 7 : Preparing Our Application for Deployment
      1. Building a Minified Application for Production 00:07:24
      2. Using lodash-cli 00:06:57
      3. Benefits of Building an Application with Lodash 00:10:18