Home Page Icon
Home Page
Table of Contents for
Part IV: Databases
Close
Part IV: Databases
by Guillermo Rauch
Smashing Node.js: JavaScript Everywhere, 2nd Edition
Cover
Table of Contents
Title Page
Foreword
Part I: Getting Started: Setup and Concepts
Chapter 1: The Setup
Installing on Windows
Installing on OS X
Installing on Linux
The Node REPL
Executing a file
NPM
Summary
Chapter 2: Javascript: An Overview
Introduction
Basic JavaScript
v8 JavaScript
Summary
Chapter 3: Blocking and Non-blocking IO
With great power comes great responsibility
Summary
Chapter 4: Node JavaScript
The global object
The module system
Exposing APIs
Events
Buffers
Summary
Part II: Essential Node APIs
Chapter 5: CLI and FS APIs: Your First Application
Requirements
Writing your first program
Exploring the CLI
Exploring the fs module
Summary
Chapter 6: TCP
What are the characteristics of TCP?
Telnet
A TCP chat program
An IRC Client program
Summary
Chapter 7: HTTP
The structure of HTTP
Headers
Connections
A simple web server
A twitter web client
A superagent to the rescue
Reloading HTTP servers with up
Summary
Part III: Web Development
Chapter 8: Connect
A simple website with HTTP
A simple website with Connect
Middleware
Summary
Chapter 9: Express
A simple express app
Settings
Template engines
Error handling
Convenience methods
Routes
Middleware
Organization strategies
Summary
Chapter 10: WebSocket
AJAX
HTML5 WebSocket
An Echo Example
Mouse cursors
The Challenges Ahead
Summary
Chapter 11: Socket.IO
Transports
A chat program
A DJ-by-turns application
Summary
Part IV: Databases
Chapter 12: MongoDB
Installation
Accessing MongoDB: A user authentication example
Introducing Mongoose
A mongoose example
Summary
Chapter 13: MySQL
node-mysql
sequelize
Summary
Chapter 14: Redis
Installing Redis
The Redis Query Language
Data types
Redis and Node
Summary
Part V: Testing
Chapter 15: Code Sharing
What can be shared?
Writing compatible JavaScript
Putting it all together: browserbuild
Summary
Chapter 16: Testing
Simple testing
Expect.JS
Mocha
Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Chapter 11: Socket.IO
Next
Next Chapter
Chapter 12: MongoDB
Part IV: Databases
Chapter 12: MongoDB
Chapter 13: MySQL
Chapter 14: Redis
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset