What is the best approach for structuring data models in Meteor?
For example, let's consider a data model with a XmlDocument containing multiple XmlNodes.
Should I create a single collection like
new Meteor.Collection("Documents")
and update it as a whole document, or should I create a separate collection for nodes with a reference to their parent document (similar to .NET Entity Framework)?
I'm unsure about the level of granularity in Meteor. Does the update
method perform a diff with the current data or send the entire data as a single transaction to the server?