Build a Network Application with Node [Video]

Build a Network Application with Node [Video]

Starting
Joe Stanco

Build, tune, and test a tangible Node.js application from start to finish
$10.00
RRP $84.99
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Video Details

ISBN 139781782168270
Course Length2 hours and 20 minutes

About This Video

  • Offers the reader a primer in node conventions, along with best practices for publishing modules, optimizing performance, and organizing code
  • Step-by-step examples that demonstrate how to progressively enhance your app

 

Who This Video Is For

If you wish to get up to speed with the basics of Node, harness the performance benefits of non-blocking IO, and build a complete app from start to finish, this course is for you. Experience with Node is not essential, but familiarity with JavaScript is highly recommended.

Table of Contents

Getting Started with Node
Installing Node and Running a Server
Deconstructing an HTTP Server
Node Modules
The CommonJS Module Specifications
Loading Modules
Managing Module Dependencies
Managing Packages with npm
Configuring and Publishing a Package
Understanding Events
The Event Loop and NextTick()
Asynchronous Programming and Nonblocking I/O
Callback Patterns
Pub/Sub with EventEmitter
Working with File Streams
Managing the File System
Reading and Writing Files
Reading and Writing Streams
Running an HTTP Server
Building an HTTP Server
Serving Static Files
Performance Tuning
The Connect Framework
Using HTTP Middleware
Building a Static Server with Connect
Tuning a Connect Server
The Express Framework
Using a Web Application Framework
Storing Data in a Session
Building a Todo App with Express
Generating Logs and Handling Errors
Using View Templates
Choosing a Template Engine
Rendering the View Templates
Advanced Templating Features
Data Storage
Installing MongoDB and Mongoose
Creating a Database Interface
Defining a Model
Performing CRUD Operations
Using Subdocuments
Using Socket.IO
Real-Time Communication with Socket.IO
Pushing Notifications
Publishing Content Updates
Automated Testing
Installing a Test Framework
Writing Integration Tests

What You Will Learn

  • Configure and publish a Node package
  • Handle data flows with Node's new Stream2 API
  • Build and optimize a static web server
  • Reuse more code with Connect middleware components
  • Implement an app using a higher level framework like Express
  • Create, read, update, and delete documents in a MongoDB collection
  • Transmit data over web sockets in real time with Socket.IO

 

In Detail

Node.js is a platform built on Chrome's JavaScript runtime for building fast, scalable network applications easily. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive, real-time applications that run across distributed devices.

This video course is a step-by-step guide for creating a high performance server in JavaScript. The course begins with installing Node, to understanding modules and file streams, and setting up a server. The course also teaches you different web application frameworks and explores advanced features such as web sockets and key-value stores.

This comprehensive video tutorial will take you from a beginner-level programmer and teach you everything you need to know to get productive with Node. Fundamental concepts are illustrated with brief examples and many sample projects that help grasp the complex functionality in an easy manner.

With a primer on modules and npm, you'll understand how to work with building blocks of Node and publish your own creations. Accelerated development with frameworks like Express will make your app more responsive with caching and real-time communication.

This course is an indispensible guide to building a Node app, whether from the ground up or with the help of higher-level frameworks.

Style and Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

This video course covers the fundamentals while teaching you the practical applications of these concepts to build a network app, use high-level frameworks, and test the app.

Authors

Screenshots

Table of Contents

Getting Started with Node
Installing Node and Running a Server
Deconstructing an HTTP Server
Node Modules
The CommonJS Module Specifications
Loading Modules
Managing Module Dependencies
Managing Packages with npm
Configuring and Publishing a Package
Understanding Events
The Event Loop and NextTick()
Asynchronous Programming and Nonblocking I/O
Callback Patterns
Pub/Sub with EventEmitter
Working with File Streams
Managing the File System
Reading and Writing Files
Reading and Writing Streams
Running an HTTP Server
Building an HTTP Server
Serving Static Files
Performance Tuning
The Connect Framework
Using HTTP Middleware
Building a Static Server with Connect
Tuning a Connect Server
The Express Framework
Using a Web Application Framework
Storing Data in a Session
Building a Todo App with Express
Generating Logs and Handling Errors
Using View Templates
Choosing a Template Engine
Rendering the View Templates
Advanced Templating Features
Data Storage
Installing MongoDB and Mongoose
Creating a Database Interface
Defining a Model
Performing CRUD Operations
Using Subdocuments
Using Socket.IO
Real-Time Communication with Socket.IO
Pushing Notifications
Publishing Content Updates
Automated Testing
Installing a Test Framework
Writing Integration Tests

Video Details

ISBN 139781782168270
Course Length2 hours and 20 minutes
Read More