How does a meteor application deal with server-side methods for inserting and updating? especially:
- if an application is temporarily offline (available through appCache-package) and a call to a server-side method happens: is optimistic-ui possible? how does it work?
- do i
need to define the (usually server-side) methods in
/libsdirectory instead of/server?
Thank you
libsand useCollection.allowandCollection.denyto control the permission on both server and client side.In meteor, most of the time you're dealing with client side data, Meteor will save them to the Minimongo and synchronize your update to server when available.