You are previewing Introducing Meteor.
O'Reilly logo
Introducing Meteor

Book Description

Meteor is a full stack application platform that makes it easy to build powerful, real time Web apps quickly. Introducing Meteor is a short book guiding you through building top-quality Web apps in a fraction of the time using an application platform built for the modern web. This book takes you from installing the development environment all the way through deploying a live app, and everything in between. Introducing Meteor covers how to build a prototype app in days instead of weeks; how to take advantage of reactive templates; leverage the hundreds of Smart Packages available; and employ best practices and avoid common errors made by beginners. Meteor gives you the tools you need to build better apps faster.

Web apps have come a long way since the 1990s, but they still require a lot of time, specialized knowledge and complex setups. Introducing Meteor shows you a better way.

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents at a Glance
  5. Contents
  6. About the Authors
  7. About the Technical Reviewer
  8. Introduction
  9. Chapter 1 : Web Development Crash Course
    1. HTML – The Structure
      1. Tags and Attributes
      2. Document Basics
      3. Common Tags
      4. Linking to Other Resources
    2. CSS – The Style
      1. Getting It into Your Document
      2. Selectors
      3. Staying Semantic
      4. CSS Frameworks
    3. JavaScript – The Behavior
      1. Where to Put Your Code
      2. Dealing with Data
      3. Math and Operators
      4. Conditions
      5. Loops
      6. Functions
      7. CoffeeScript
    4. Summary
  10. Chapter 2 : Getting Started with Meteor
    1. The Seven Principles of Meteor
      1. Data on the Wire
      2. One Language
      3. Database Everywhere
      4. Latency Compensation
      5. Full Stack Reactivity
      6. Embrace the Ecosystem
      7. Simplicity Equals Productivity
    2. Installing on Mac and Linux
      1. Meteor
      2. Atmosphere and Meteorite
    3. Developing in a Browser with Nitrous.io
      1. Create a Nitrous.io Account
      2. Setup a New Box
      3. The Nitrous.io IDE
      4. Installing Meteor
      5. Installing Meteorite
    4. Creating your First Meteor App
    5. Running your Meteor App
    6. Example Apps
    7. Getting to know the App Structure
      1. The Public and Private Subdirectories
      2. The Client, Server, and Test Subdirectories
      3. Compatibility Subdirectory
      4. Everything Else
      5. Load Order
    8. Summary
  11. Chapter 3 : Using Spacebars Templates
    1. Creating the clans.io app
    2. Spacebars
      1. Tags
      2. Identifiers
      3. Helper Arguments
      4. Inclusion and Block Arguments
      5. Limitations
      6. Double-braced Tags
      7. Triple-braced Tags
      8. Inclusion Tags
      9. Block Tags
      10. Comment Tags
    3. Component Object
      1. Events
      2. Helpers
      3. onRendered
      4. onCreated
      5. onDestroyed
    4. Bootstrap Package
    5. Summary
  12. Chapter 4 : Reactive Programming and Routes
    1. Reactive Programming Explained
    2. The Session Variable
    3. Custom Reactivity
      1. House Cleaning
    4. Quick Intro to Packages
      1. Install Packages
    5. Routes
    6. Reactive Routes and Iron Router
      1. Router Defaults
      2. First Route
    7. Summary
  13. Chapter 5 : Dealing with Data
    1. Collections
    2. Database Reactivity
    3. MongoDB and NoSQL
      1. Create
      2. Read
      3. Update
      4. Destroy
    4. How Meteor Handles Data
      1. aldeed:autoform
      2. Latency Compensation
      3. Publish and Subscribe
      4. Edit Clans
    5. Summary
  14. Chapter 6 : Authentication and Deployment
    1. Prerequisite Packages
      1. useraccounts:bootstrap
      2. accounts-password
      3. useraccounts:iron-routing
    2. Re-structuring the Application
      1. Joining a Clan
      2. Getting a List of Clan Members
      3. Creating and Listing Clans
      4. Updated Templates
      5. Configurations
    3. Deploying Your App
      1. Deploying on Meteor.com
      2. Deploying on Modulus.io
    4. Summary
  15. Index