Read my new blog post about using Meteor publications, subscriptions, and Minimongo!
Often I get the following question from my friends:
When I’m writing a Meteor app, where do I put my database queries? It looks like there are three places: publications, subscriptions, and template helpers. Why do I have to filter my data in three different places?
This post is an attempt at a complete and structured answer to where, when, and why you make database queries in Meteor.
Awesome post! It is a different way of thinking when comparing it to the flow of other web frameworks and applications. But, in my opinion, it’s a very good way of thinking about data flow.
I wish I had friends who regularly asked me this question. Most of my friends just ask “What the hell is this Meteor crap you’re spamming my newsfeed with? Stop”