Client only and server only builds


#1

In this file: ./meteor/platforms

//impossible
browser
//impossible
server
//possible
browser
server

Need with Cordova:

I’d like to completely separate my cordova client from the meteor server

/* 
   in client code, instead of using Meteor.login, Meteor.call, 
   do all of that with respect to a different server 
*/
OtherServer = DDP.connect('some other server')

This way, I can update the backend without worrying about changing the cordova build (either via hot-code push or uploading new build to app stores). Also, when I need to change the cordova build, I don’t have to push anything to the server.

I think it’s better to decouple these components – at least, in my case. Larger apps surely require these components to be decoupled. Meteor 1.3 does not support this behavior. Maybe it should?