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


#1

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?


#2

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.


#3

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


#4

cottz:publish does exactly what you want to do.