Node Cookbook, 2nd Edition Front Cover

Node Cookbook, 2nd Edition

  • Length: 390 pages
  • Edition: 2
  • Publisher:
  • Publication Date: 2014-03-26
  • ISBN-10: 1783280433
  • ISBN-13: 9781783280438
  • Sales Rank: #2454477 (See Top 100 Books)
Description

Over 50 recipes to master the art of asynchronous server-side JavaScript using Node.js, with coverage of Express 4 and Socket.IO frameworks and the new Streams API with this book and ebook

Overview

  • Work with JSON, XML, web sockets to make the most of asynchronous programming
  • Extensive code samples covering Express 4 and Socket.IO
  • Learn how to process data with streams and create specialized streams
  • Packed with practical recipes taking you from the basics to extending Node with your own modules

In Detail

Node Cookbook Second Edition shows you how to transfer your JavaScript skills to server-side programming. It will talk you through the various server-side scenarios, often saving you time and effort by demonstrating best practices and showing you how to avoid security faux pas.

Beginning with making your own web server, the recipes are designed to allow smooth progression through Node in order to help you design full web applications, command-line applications, and Node modules.

There’s also extensive coverage on using popular frameworks such as Express 4 and Socket.IO, writing your own Node modules and different ways to take your apps live.

What you will learn from this book

  • Create different kinds of servers
  • Manipulate all kinds of data
  • Interface with various databases
  • Use streams for efficient, powerful data shuffling
  • Create real-time apps
  • Create command-line apps
  • Write and publish your own modules
  • Work with the Express framework
  • Get to grips with the module ecosystem
  • Explore with external remote APIs
  • Learn various security, encryption, and authentication techniques

Approach

In Node Cookbook Second Edition, each chapter focuses on a different aspect of working with Node. Following a Cookbook structure, the recipes are written in an easy-to-understand language. Readers will find it easier to grasp even the complex recipes which are backed by lots of illustrations, tips, and hints.

Who this book is written for

If you have some knowledge of JavaScript and want to build fast, efficient, scalable client-server solutions, then Node Cookbook Second Edition is for you. Knowledge of Node will be an advantage but is not required. Experienced users of Node will be able to improve their skills.

Table of Contents

Chapter 1: Making a Web Server
Chapter 2: Exploring the HTTP Object
Chapter 3: Working with Data Serialization
Chapter 4: Interfacing with Databases
Chapter 5: Employing Streams
Chapter 6: Going Real Time
Chapter 7: Accelerating Development with Express
Chapter 8: Implementing Security, Encryption, and Authentication
Chapter 9: Integrating Network Paradigms
Chapter 10: Writing Your Own Node Modules
Chapter 11: Taking It Live

To access the link, solve the captcha.