Book Image

Getting Started with Meteor.js JavaScript Framework

By : Isaac Strack
Book Image

Getting Started with Meteor.js JavaScript Framework

By: Isaac Strack

Overview of this book

Table of Contents (14 chapters)

A giant Meteor appears!


Meteor takes modern web apps to the next level. It enhances and builds upon the nested MVC design pattern by implementing three key features:

  • Data On The Wire through the Distributed Data Protocol (DDP)

  • Latency Compensation with Mini Databases

  • Full Stack Reactivity with Blaze and Tracker

Let's walk through these concepts to see why they're valuable, and then, we'll apply them to our Lending Library application.

Data On The Wire

The concept of Data On The Wire is very simple and in tune with the nested MVC pattern; instead of having a server process everything, render content, and then send HTML across the wire, why not just send the data across the wire and let the client decide what to do with it?

This concept is implemented in Meteor using the Distributed Data Protocol, or DDP. DDP has a JSON-based syntax and sends messages similar to the REST protocol. Additions, deletions, and changes are all sent across the wire and handled by the receiving service/client/device...