Building Node Applications with MongoDB and Backbone [NOOK Book]

Overview

Build an application from backend to browser with Node.js, and kick open the doors to real-time event programming. With this hands-on book, you’ll learn how to create a social network application similar to LinkedIn and Facebook, but with a real-time twist. And you’ll build it with just one programming language: JavaScript.

If you’re an experienced web developer unfamiliar with JavaScript, the book’s first section introduces you to the project’s core technologies: Node.js, ...

See more details below
Building Node Applications with MongoDB and Backbone

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$12.49
BN.com price
(Save 43%)$21.99 List Price

Overview

Build an application from backend to browser with Node.js, and kick open the doors to real-time event programming. With this hands-on book, you’ll learn how to create a social network application similar to LinkedIn and Facebook, but with a real-time twist. And you’ll build it with just one programming language: JavaScript.

If you’re an experienced web developer unfamiliar with JavaScript, the book’s first section introduces you to the project’s core technologies: Node.js, Backbone.js, and the MongoDB data store. You’ll then launch into the project—a highly responsive, highly scalable application—guided by clear explanations and lots of code examples.

  • Learn about key modules in Node.js for building real-time apps
  • Use the Backbone.js framework to write clean browser code, and maintain better data integration with MongoDB
  • Structure project files as a foundation for code that will arrive later
  • Create user accounts and learn how to secure the data
  • Use Backbone.js templates to build the application’s UIs, and integrate access control with Node.js
  • Develop a contact list to help users link to and track other accounts
  • Use Socket.io to create real-time chat functionality
  • Extend your UIs to give users up-to-the-minute information


Read More Show Less

Product Details

  • ISBN-13: 9781449337766
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/11/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 204
  • Sales rank: 1,345,403
  • File size: 5 MB

Meet the Author

Mike has had the privilege of working with some of the largest and most influential brands in the world, including Disney, Microsoft and McDonalds. He has years of web development experience, designing and building everything from small business sites to large MMO server clusters hosting millions of players.In his free time Mike maintains his personal blog (alwaysgetbetter.com) and contributes to forums and experiments with emerging frameworks and software. Mike lives in Vancouver with his wife and their three children.

Read More Show Less

Table of Contents

Preface;
Audience and Assumptions;
Organization;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Introducing Node.js, Backbone.js, and MongoDB;
Chapter 1: Introduction and Overview;
1.1 Building a Social Network;
1.2 Model-View-Controller (MVC);
1.3 Pure JavaScript;
Chapter 2: Node.js;
2.1 Installing Node.js;
2.2 Express;
2.3 Events;
2.4 Socket.io;
2.5 Modules and CommonJS;
Chapter 3: Backbone.js;
3.1 Model;
3.2 View;
3.3 Collection;
3.4 Router and History;
Chapter 4: MongoDB;
4.1 Accessing Data;
4.2 Working with Node.js;
4.3 Concurrent Access;
Building a Social Network;
Chapter 5: Setting Up the Project;
5.1 Directory Structure;
5.2 Package Definition;
5.3 Web Server;
Chapter 6: Authentication;
6.1 Account;
6.2 Routing;
6.3 Registration;
6.4 Login;
6.5 Forgot Password;
6.6 Reset Password;
6.7 Putting It Together;
Chapter 7: The User Interface;
7.1 Account Details;
7.2 Contact List;
7.3 Activity Stream;
7.4 Data Model;
7.5 Putting It Together;
Chapter 8: Making Friends;
8.1 Contact List;
8.2 Add Contact;
8.3 Remove Contact;
8.4 Commenting;
8.5 Putting It Together;
Chapter 9: Chat;
9.1 Refactoring;
9.2 Connecting to the Chat Server;
9.3 Sending and Receiving Chat Messages;
9.4 Putting It Together;
Chapter 10: Activities in Real Time;
10.1 Adding Custom Events;
10.2 Contact Login Notification;
10.3 Status Updates;
10.4 Putting It Together;
Glossary;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)