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:
- What publications and subscriptions are in the Meteor platform.
- How to define a publication on the server.
- Where to subscribe on the client and in which templates.
- Useful patterns for managing subscriptions.
- How to reactively publish related data.
- How to ensure your publication is secure in the face of reactive changes.
- How to use the low-level publish API to publish anything.
- What happens when you subscribe to a publication.
- How to turn a 3rd-party REST endpoint into a publication.
- How to turn a publication in your app into a REST endpoint.
Publications and subscriptions
In a traditional, HTTP-based web application, th