When to use Meteor.methods and utilizing stubs
Using Meteor, I'm attempting to understand when to use server-side Meteor.methods() while still retaining instant UI updates. From Andrew Scala's introductory tutorial , he claims that Meteor.methods() should be used when you want to update and modify your database documents: The idea is that you define all the functions on the server that do dangerous stuff like modify and update data, and then let the client call those functions and get return values like regular functions. The client never sees the implementation and doesn’t personally modify the data. The server does all the work. And