Publications and Data Loading

Publications and Data Loading

How and where to load data in your Meteor app using publications and subscriptions.

After reading this guide, you’ll know:

  1. What publications and subscriptions are in the Meteor platform.
  2. How to define a publication on the server.
  3. Where to subscribe on the client and in which templates.
  4. Useful patterns for managing subscriptions.
  5. How to reactively publish related data.
  6. How to ensure your publication is secure in the face of reactive changes.
  7. How to use the low-level publish API to publish anything.
  8. What happens when you subscribe to a publication.
  9. How to turn a 3rd-party REST endpoint into a publication.
  10. How to turn a publication in your app into a REST endpoint.

Publications and subscriptions

In a traditional, HTTP-based web application, th