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

Build a Network Application with Node

Video Description

Build, tune, and test a tangible Node.js application from start to finish

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

  • 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.

    Table of Contents

    1. Chapter 1: Getting Started with Node
      1. Installing Node and Running a Server 00:03:12
      2. Deconstructing an HTTP Server 00:02:18
    2. Chapter 2: Node Modules
      1. The CommonJS Module Specifications 00:03:02
      2. Loading Modules 00:04:14
      3. Managing Module Dependencies 00:01:38
      4. Managing Packages with npm 00:01:59
      5. Configuring and Publishing a Package 00:03:14
    3. Chapter 3: Understanding Events
      1. The Event Loop and NextTick() 00:02:33
      2. Asynchronous Programming and Nonblocking I/O 00:02:59
      3. Callback Patterns 00:03:02
      4. Pub/Sub with EventEmitter 00:02:30
    4. Chapter 4: Working with File Streams
      1. Managing the File System 00:04:11
      2. Reading and Writing Files 00:03:55
      3. Reading and Writing Streams 00:03:05
    5. Chapter 5: Running an HTTP Server
      1. Building an HTTP Server 00:04:01
      2. Serving Static Files 00:03:51
      3. Performance Tuning 00:03:25
    6. Chapter 6: The Connect Framework
      1. Using HTTP Middleware 00:04:16
      2. Building a Static Server with Connect 00:03:35
      3. Tuning a Connect Server 00:02:35
    7. Chapter 7: The Express Framework
      1. Using a Web Application Framework 00:04:57
      2. Storing Data in a Session 00:03:37
      3. Building a Todo App with Express 00:02:24
      4. Generating Logs and Handling Errors 00:04:39
    8. Chapter 8: Using View Templates
      1. Choosing a Template Engine 00:03:23
      2. Rendering the View Templates 00:04:03
      3. Advanced Templating Features 00:04:17
    9. Chapter 9: Data Storage
      1. Installing MongoDB and Mongoose 00:04:25
      2. Creating a Database Interface 00:03:48
      3. Defining a Model 00:04:16
      4. Performing CRUD Operations 00:04:22
      5. Using Subdocuments 00:04:34
    10. Chapter 10: Using Socket.IO
      1. Real-Time Communication with Socket.IO 00:03:07
      2. Pushing Notifications 00:03:58
      3. Publishing Content Updates 00:03:39
    11. Chapter 11: Automated Testing
      1. Installing a Test Framework 00:04:57
      2. Writing Integration Tests 00:04:56