Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Building Node Applications with MongoDB and Backbone
Preface
Audience and Assumptions
Organization
Part I: Introduction
Part II: Building a Social Network
Conventions Used in This Book
Using Code Examples
SafariĀ® Books Online
How to Contact Us
I. Introducing Node.js, Backbone.js, and MongoDB
1. Introduction and Overview
Building a Social Network
Model-View-Controller (MVC)
Pure JavaScript
2. Node.js
Installing Node.js
Express
Templates
Events
Socket.io
Modules and CommonJS
3. Backbone.js
Model
View
View Template
Collection
Sync
Router and History
4. MongoDB
Accessing Data
Writing
Querying
Indexes
MapReduce
Working with Node.js
Concurrent Access
II. Building a Social Network
5. Setting Up the Project
Directory Structure
File Listing
Package Definition
Web Server
Index Template
Application JavaScript
Application class
Index view object
6. Authentication
Account
Routing
Checking for Authentication
Authentication Handler
Registration
Registration Template
Registration Handler
Login
Login Template
Login Handler
Forgot Password
Forgot Password Template
Forgot Password Handler
Reset Password
Reset Password Templates
Reset Password Handler
Putting It Together
Node.js
7. The User Interface
Account Details
Account Details Template
Account Details Handler
Contact List
Activity Stream
Activity Stream Template
Activity Stream Handler
Data Model
Putting It Together
Backbone
Node.js
8. Making Friends
Contact List
Contact List Template
Contact List Handler
Add Contact
Add Contact Template
Add Contact Handler
Remove Contact
Remove Contact Template
Remove Contact Handler
Commenting
Comment Template
Comment Handler
Putting It Together
Backbone
Router
Index
Node.js
Main Express application
Account model
9. Chat
Refactoring
Connecting to the Chat Server
Backbone
Node.js
Sending and Receiving Chat Messages
Backbone
Node.js
Putting It Together
Backbone
Node.js
10. Activities in Real Time
Adding Custom Events
Triggering Events
Adding Listeners
Contact Login Notification
Backbone.js
Node.js
Status Updates
Backbone.js
Node.js
Putting It Together
Backbone.js
Node.js
Static Files
Glossary
About the Author
Colophon
Copyright
← Prev
Back
Next →
← Prev
Back
Next →