Mastering NodeJs
3.0 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
56 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Mastering NodeJs to your Wishlist.

Add to Wishlist

Mastering NodeJs

Using the JavaScript you already know to build powerful applications from console applications that can assist on your d
3.0 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
56 students enrolled
Created by Packt Publishing
Last updated 2/2017
English
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
Includes:
  • 5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • How Node.js works, how it’s architecture looks like
  • How to build your own tools, in the console.
  • How to work with asynchronous events
  • Learn to work with streaming data
  • Create your own web server and web api’s with node.js
  • Reading and writing a file
  • Learning how to handle real time messages
  • Unit testing your code
View Curriculum
Requirements
  • This example-packed video course starts with taking viewers through the fundamentals of Node.js. The steep but gradual learning curve will then take them some advanced topics such as streams, transformers, and micro services. The course will conclude with teaching viewers how to scale up their application and test their code.
Description

Node.js is a modern web framework that allows you to build rich applications. As a developer, you need to know just one programming language to build an application that can be executed anywhere, be it the server, console, browser, or on your mobile phone.

This course begins with explaining how Node.js works and what its architecture is all about. You will then learn to create your first Node.js application and also create a command line tool for Node.js. Next, you will learn how to work with commander.js and use the event emitter because events are a powerful extension that can be used in our application.

The course will then teach you to use and define streams and transformers, after which you will be skilled to build a web server with Express.js. This will be followed by taking you through how to read, write, and manipulate files in the file system with Node.js. You will even learn how to create micro services with the loopback API framework and Seneca.js, post which we will scale our node.js application and test our code. Finally, you will complete your learning journey by using these APIs to create a web server, access file system, and create real-time interactions.

With this course, you will be able to build your own tools, along with big network and real-time applications.

About The Author

Joris Hermans is a Senior Software Developer with more than 10 years of experience in programming for the web. He has worked for an online directory company creating web applications that hits traffic of more than a million page views a week. Now he works in the R&D department of a big automation company. He has a lot of experience in building large-scale web applications. He participates in a lot of discussions regarding the web and his specifications. He likes to follow new technological trends and hypes.

Who is the target audience?
  • Developers that already know how to programme with JavaScript and want to know more about Node.js.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
36 Lectures
04:54:46
+
Understanding the Node.js Environment
5 Lectures 31:24

This video provides an overview of the entire course.

Preview 07:04

In this video, we will provide the viewer with the necessary information about the installation process of Node.js.

Installation and Setup
04:37

Understand how does Node.js work and what is behind the logic of Node.js.

Node.js Under the Hood
08:29

Learn how we can use and test some Node.js code without writing some code in a .js file.

Read Eval Print Loop
06:12

Understand what the event loop is.

Event Loop
05:02
+
CLI Application Development
3 Lectures 20:14

Understand that when you want to build a tool in the console, you can use node.js to build it for you.

Preview 06:21

Creating CLI tools with just the basic Node.js API is hard. So to cover this, we have some useful libraries at our disposal.

Commander.js and prompt
08:22

We want to have access to our tool with a common name. Now when we want to use our tool we need to go to the location of the script and perform node <scriptname>.

Make Your Tool Global
05:31
+
Asynchronous Event Driven Programming
4 Lectures 28:25

Understand what are the events in node.js and how can we use them in our advance.

Preview 05:36

Timers are also a sort of event, an event scheduled in time. How does this come along in our entire story?

Timers
07:21

How can I use the functionality of EventEmitter to my own objects?

Creating an Event
08:38

We can go more into depth with events regarding what can we do when we want to listen to an event just once. How can we deal with listeners?

Events in Depth
06:50
+
Streaming Data across Nodes and Clients
4 Lectures 25:27

Streams are very useful to work with data and to manipulate data. But how are we going to do that?

Preview 06:00

Learn more about how to play with streams and their transformers.

Object Streams
05:39

Understand how we can create a simple http-server that listens to http requests.

Creating an http-server
07:47

Understand how we can handle data when we post data to our web server.

Handling Post Data
06:01
+
Http and Web Server
4 Lectures 37:55

If you want to build a big web application, using only the node.js APIsis a lot of effort. So in this chapter, we will dive into the libraries that are created on top of the http libraries of Node.js.

Preview 09:00

Middleware is a very important part of Express. It results in extending the request object and adding a certain value to every request.

Request Middleware
08:33

In this video, we explain more advanced middleware and in more detail, the authentication middleware.

Social Logins
10:34

To get away from callbacks and to provide a more elegant API to build web applications you can use Koa.js.

Koa.js
09:48
+
Using Node.js to Access File System
4 Lectures 35:42

When we want to search for a file, we need to iterate over files and folders.

Preview 07:16

How can we react upon a file change by reading and watching a file?

Reading a File
09:07

Before we can write content to a file, we need to check whether the file exists!

Writing a File
09:55

When you need to upload files to your server, how do you handle this in node.js and Express.js?

Handling File Uploads
09:24
+
Utilizing Multiple Processes
3 Lectures 26:07

How can we handle the Node.js process, what can we do against errors, and how can we react upon an exit off the process?

Preview 06:25

How can we launch another program or the bash program from within our program?

Creating Child Processes
12:06

When we spawn another child process, how can we communicate with it?

Communicating with Your Child Processes
07:36
+
Creating Real-Time Applications
3 Lectures 29:34

How to perform bidirectional communication in node.js?

Preview 12:56

How can we make a real-time application without the use of websockets, and what are other ways to perform a real-time action in Node.js and the web?

Server-Sent Events
10:26

How can we communicate from one server to another server?

Server to Server Communication
06:12
+
Scaling Your Applications
3 Lectures 26:55

When do I need to scale, and how do I scale?

Preview 05:26

How can we create applications that scale?We need better software architecture. To do so, we split our application into smaller applications.

Microservices That Scale
12:31

How do we bring our application to the cloud?

Bringing an Application to the Cloud
08:58
+
Testing and References
3 Lectures 33:03

How do I test my code and spy on a method where we have no control on the outcome?

Preview 13:38

How can we test our REST API? Well, with nock, we can test these APIs.

Testing an API
07:45

This video will show all the reference websites.

References
11:40
About the Instructor
Packt Publishing
3.9 Average rating
7,349 Reviews
52,527 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.