My Account Log in

3 options

Node cookbook : 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 / David Mark Clements ; cover image by Alvaro Dalloz.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Clements, David Mark, author.
Contributor:
Dalloz, Alvaro, cover designer.
Series:
Quick answers to common problems
Language:
English
Subjects (All):
JavaScript (Computer program language)--Programmed instruction.
JavaScript (Computer program language).
Internet programming--Congresses.
Internet programming.
Physical Description:
1 online resource (379 p.)
Edition:
Second edition.
Place of Publication:
Birmingham, England : Packt Publishing, 2012.
Language Note:
English
Summary:
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.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.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Making a Web Server; Introduction; Setting up a router; Serving static files; Caching content in memory for immediate delivery; Optimizing performance with streaming; Securing against filesystem hacking exploits; Chapter 2: Exploring the HTTP Object; Introduction; Processing POST data; Handling file uploads; Using Node as an HTTP client; Implementing download throttling; Chapter 3: Working with Data Serialization; Introduction; Converting an object to JSON and back
Converting an object to XML and backBrowser-server transmission via AJAX; Working with real data - fetching trending tweets; Chapter 4: Interfacing with Databases; Introduction; Writing to a CSV file; Connecting and sending SQL to a MySQL server; Storing and retrieving data with MongoDB; Storing data to CouchDB with Cradle; Retrieving data from CouchDB with Cradle; Accessing the CouchDB changes stream with Cradle; Storing and retrieving data with Redis; Implementing PubSub with Redis; Chapter 5: Employing Streams; Introduction; Consuming streams; Playing with pipes; Making stream interfaces
Streaming across Node processesChapter 6: Going Real Time; Introduction; Creating a WebSocket server; Cross-browser real-time logic with Socket.IO; Remote Procedure Calls with Socket.IO; Creating a real-time widget; Chapter 7: Accelerating Development with Express; Introduction; Generating Express scaffolding; Managing server tier environments; Implementing dynamic routing; Templating in Express; CSS preprocessors with Express; Initializing and using a session; Making an Express web app; Chapter 8: Implementing Security, Encryption, and Authentication; Introduction
Implementing Basic AuthenticationHashing passwords; Implementing Digest Authentication; Setting up an HTTPS web server; Preventing cross-site request forgery; Chapter 9: Integrating Network Paradigms; Introduction; Sending an e-mail; Sending an SMS; Communicating with TCP; Creating an SMTP server; Implementing a virtual hosting paradigm; Chapter 10: Writing Your Own Node Modules; Introduction; Creating a test-driven module specification; Writing a functional module mock-up; Refactoring with prototypical inheritance; Extending a module's API; Deploying a module to npm
Chapter 11: Taking It LiveIntroduction; Deploying an app to a server environment; Automatic crash recovery; Continuous deployment; Hosting with a Platform as a Service provider; Index
Notes:
Includes index.
"Quick answers to common problems."
Description based on online resource; title from PDF title page (ebrary, viewed May 17, 2014).
ISBN:
9781783280445
1783280441
OCLC:
879022431

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account