Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Writing Clean Asynchronous Code In Node.js
Rating: 3.3 out of 5(68 ratings)
2,940 students
Created byHaider Malik
Last updated 8/2018
English

What you'll learn

  • Write Clean Code with Callbacks in Nodejs
  • Write Clean Code with Promises in NodeJs
  • Write Clean Code with Async/Await in Nodejs
  • Avoid CallbackHell with Promises, Asyncjs and Promises
  • Convert Callbacks To Promises
  • Best Design Pattern To Write Asynchronous Code in Nodejs

Course content

7 sections28 lectures2h 3m total length
  • Installing NodeJs0:02
  • Connecting NodeJs Application to MongoLab3:27

    In this video, I will teach you how to connect Node.js Application to MongoLab.

Requirements

  • Basic Knowledge of Javascript is Important
  • Basic Knowledge of Nodejs is Important
  • Basic Knowledge of Expressjs is Important

Description

This course will include topics on

  • What is Callback
  • What is CallbackHell
  • How to avoid CallbackHell using Async.js
  • How to avoid CallbackHell using Promises
  • How to avoid CallbackHell using Async/Await
  • What is Promise
  • What is Promise Chaining
  • How to run  Asynchronous tasks in the Series using Promise Chaining
  • How to run  Asynchronous functions in the Parallel using Promise.all
  • How to run Asynchronous functions in Series using Async.series method
  • How to run  Asynchronous methods in Parallel using Async.parallel method
  • How to run  Asynchronous methods  in Loop using Async.each method
  • What is Async/Await
  • Execute Asynchronous tasks in Parallel using Async/Await
  • Execute Asynchronous tasks in Series using Async/Await
  • Run Asynchronous Tasks in Loop using Async/Await
  • Converting Callbacks to Promises
  • What is Bluebird
  • Practical examples of Bluebird.promisify method
  • Practical examples of Bluebird.promisifyAll method

Who this course is for:

  • Programmers looking to learn, how to avoid callbackhell
  • Developers who want to write Clean Code Asynchronous Code in Nodejs
  • Developers who want to learn Async/Await in Nodejs
  • Developers who want to learn Promises in Nodejs
  • This course is not for Nodejs beginners,you must have an intermediate knowledge of Nodejs
  • Developers who want to follow the best practices to write code using Callbacks
  • Developers who want to learn how to run tasks in parallel,series and in the loop using Callbacks
  • Developers who want to learn how to run tasks in parallel,series and in the loop using Promises
  • Developers who want to learn how to run tasks in parallel,series and in the loop using Async/Await