CHAPTER 5

image

Dealing with Data

Meteor does a wonderful job of making the syncing of client-side data, something traditionally difficult, very easy. It does this by providing a client-side implementation of MongoDB, called MiniMongo, which syncs with the backend database and pushes to other clients in realtime. This amazing feature is both simple to use and extremely powerful. This chapter will describe setting up Meteor collections and using them to pass data around an app.

Collections

In previous chapters, clans were included as an array of objects in memory to illustrate how basic reactivity works. This worked well for prototyping the clans view, ...

Get Introducing Meteor now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.