Full Stack JavaScript: Learn Backbone.js, Node.js and MongoDB, Second Edition

Book description

This is a hands-on book which introduces you to agile JavaScript web and mobile software development using the latest cutting-edge front-end and back-end technologies including: Node.js, MongoDB, Backbone.js, Parse.com, Heroku, and Windows Azure. Practical examples include building multiple versions of the Chat app:

  • jQuery + Parse.com JS REST API
  • Backbone and Parse.com JS SDK
  • Backbone and Node.js
  • Backbone and Node.js + MongoDB
  • The Chat application has all the foundation of a typical web/mobile application: fetching data, displaying it, submitting new data. Other examples in the book are as follows:

  • jQuery + Twitter RESP API "Tweet Analyzer"
  • Parse.com "Save John"
  • MongoDB "Print Collections"
  • Backbone.js "Apple Database"
  • Monk + Express.js "REST API Server"
  • This book will save you many hours by providing a hand-picked and tested collection of quick start guides. RPJS has practical examples that allow to spend less time learning and more time building your own applications. Prototype fast and ship code that matters!

    Table of contents

    1. Cover
    2. Title
    3. Copyright
    4. Dedication
    5. Contents at a Glance
    6. Contents
    7. About the Author
    8. Acknowledgments
    9. Preface
    10. Introduction
    11. Chapter 1 : Basics
      1. Front-End Definitions
        1. Web Request Cycle
        2. Mobile Development
        3. HyperText Markup Language
        4. Cascading Style Sheets
        5. JavaScript
      2. Agile Methodologies
        1. Scrum
        2. Test-Driven Development
        3. Continuous Deployment and Integration
        4. Pair Programming
      3. Back-End Definitions
        1. Node.js
        2. NoSQL and MongoDB
        3. Cloud Computing
        4. HTTP Requests and Responses
        5. RESTful API
      4. Summary
    12. Chapter 2 : Setup
      1. Local Setup
        1. Development Folder
        2. Browsers
        3. IDEs and Text Editors
        4. Version Control Systems
      2. Local HTTP Servers
        1. Database: MongoDB
        2. Other Components
      3. Cloud Setup
        1. SSH Keys
        2. GitHub
        3. Windows Azure
        4. Heroku
      4. Summary
    13. Chapter 3 : jQuery and Parse.com
      1. Definitions
        1. JavaScript Object Notation
        2. AJAX
        3. Cross-Domain Calls
      2. jQuery Functions
      3. Twitter Bootstrap
      4. LESS
        1. LESS Variables
        2. LESS Mix-ins
        3. LESS Operations
      5. An Example Using a Third-Party API (OpenWeatherMap) and jQuery
      6. Parse.com
      7. Message Board with Parse.com Overview
        1. Message Board with Parse.com: REST API and jQuery Version
        2. Pushing to GitHub
      8. Deployment to Windows Azure
      9. Deployment to Heroku
      10. Updating and Deleting Messages
      11. Summary
    14. Chapter 4 : Intro to Backbone.js
      1. Setting Up Backbone.js App from Scratch
        1. Backbone.js Dependencies
      2. Working with Backbone.js Collections
      3. Backbone.js Event Binding
      4. Backbone.js Views and Subviews with Underscore.js
      5. Refactoring Backbone.js Code
      6. AMD and Require.js for Backbone.js Development
      7. Require.js for Backbone.js Production
      8. Super Simple Backbone.js Starter Kit
      9. Summary
    15. Chapter 5 : Backbone.js and Parse.com
      1. Message Board with Parse.com: JavaScript SDK and Backbone.js Version
      2. Taking Message Board Further
      3. Summary
    16. Chapter 6 : Intro to Node.js
      1. Building “Hello World”in Node.js
      2. Node.js Core Modules
        1. http
        2. util
        3. querystring
        4. url
        5. fs
        6. npm Node Package Manager
      3. Deploying "Hello World" to PaaS
      4. Deploying to Windows Azure
      5. Deploying to Heroku
        1. Message Board with Node.js: Memory Store Version
        2. Unit Testing Node.js
      6. Summary
    17. Chapter 7 : Intro to MongoDB
      1. MongoDB Shell
      2. BSON
      3. MongoDB Native Driver
      4. MongoDB on Heroku: MongoLab
      5. Message Board: MongoDB Version
      6. Summary
    18. Chapter 8 : Putting It All Together
      1. Adding CORS for Different Domain Deployment
      2. Message Board UI
      3. Message Board API
      4. Deployment to Heroku
      5. Same Domain Deployment Server
      6. Deployment to Amazon Web Services
      7. Summary
    19. Appendix A: Conclusion and Further Reading
      1. Conclusion
      2. Further Reading
        1. JavaScript Resources and Free E-Books
        2. JavaScript Books
        3. Node.js Resources and Free E-Books
        4. Node.js Books
        5. Interactive Online Classes and Courses
        6. Startup Books and Blogs
    20. Index

    Product information

    • Title: Full Stack JavaScript: Learn Backbone.js, Node.js and MongoDB, Second Edition
    • Author(s):
    • Release date: December 2015
    • Publisher(s): Apress
    • ISBN: 9781484217511