Node cookbook over 50 recipes to master the art of asynchronous server-side JavaScript using Node

A hands on approach to learning Node to equip and guide you in the art of asynchronous server side JavaScript

Bibliographic Details
Main Author: Clements, David Mark (-)
Format: eBook
Language:Inglés
Published: Birmingham : Packt Pub 2012.
Edition:1st edition
Series:Community experience distilled.
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627973206719
Table of 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 again
  • Converting an object to XML and back againBrowser-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 and retrieving data with Mongoskin; Storing data to CouchDB with Cradle; Retrieving data from CouchDB with Cradle; Accessing CouchDB changes stream with Cradle; Storing and retrieving data with Redis; Implementing PubSub with Redis; Chapter 5: Transcending AJAX: Using WebSockets; Introduction
  • Creating a WebSocket serverSeamless fallbacking with socket.io; Callbacks over socket.io transport; Creating a real-time widget; Chapter 6: Accelerating Development with Express; Introduction; Generating Express scaffolding; Defining and applying environments; Dynamic routing; Templating in Express; CSS engines with Express; Initializing and using a session; Making an Express web app; Chapter 7: Implementing Security, Encryption, and Authentication; Introduction; Implementing Basic Authentication; Cryptographic password hashing; Implementing Digest Authentication
  • Setting up an HTTPS web serverPreventing cross-site request forgery; Chapter 8: Integrating Network Paradigms; Introduction; Sending email; Sending SMS; Communicating with TCP; Creating an SMTP server; Implementing a virtual hosting paradigm; Chapter 9: Writing Your Own Node Modules; Introduction; Creating a test-driven module API; Writing a functional module mock-up; Refactoring from functional to prototypical; Extending the module's API; Deploying a module to npm; Chapter 10: Taking It Live; Introduction; Deploying to a server environment; Automatic crash recovery; Continuous deployment
  • Hosting with a Platform as a Service providerIndex