Most Efficient method to Transform/Join collection data on publish?


Do you use a package to do this, or do you have a custom implementation?

Do you just publish each individual collection and use helper find()s to join them together?


I use reywood:publish-composite for publishing child documents along with parents, meteorhacks:unblock to unblock publish functions where I don’t really care about the data being readily available on the client, and dburles:collection-helpers to access child documents as properties of the parent document.

They are all thoroughly documented with examples and supported by their maintainers and the community.


Thanks for the leads! I’ll check these out immediately.


cottz:publish does exactly what you want to do.