O'Reilly logo

Introducing Meteor by David Titarenco, Aaron Gray, Josh Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required