Category: subscription
-
Meteor Methods vs REST API
Many of you must have used MeteorJS Methods and have often mistook them for an analogue of REST API. Although Meteor Methods are similar to POST API request but they are quite different. The main difference between the two is that Meteor Methods are DDP (Distributed Data Protocol) messages and are based on RPC (Remote Procedure […]
-
Meteor’s Autopublish Package
If you create Meteor project from scratch(i.e using meteor create), it will automatically have the autopublish package enabled. The goal of autopublish package is to make it very easy to start coding with Meteor, and it does this by automatically mirroring all the data from the server to client, thus taking care of publications and subscriptions for you. Suppose you […]
-
Meteor Publication and Subscription
In 2011, when Meteor was not around, When u hit a site build on Rails, The client(i.e your browser) sends a request to your app, which lives on the server. The app finds out which data the client need, which could be of any size. Once the right data has been selected, the app then […]