Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison with publish-with-relations #6

Closed
dandv opened this issue May 17, 2014 · 2 comments
Closed

Comparison with publish-with-relations #6

dandv opened this issue May 17, 2014 · 2 comments
Labels

Comments

@dandv
Copy link

dandv commented May 17, 2014

This package seems quite related to the earlier https://github.com/svasva/meteor-publish-with-relations. How would the two compare?

@reywood
Copy link
Collaborator

reywood commented May 17, 2014

The publish-with-relations package is good for simulating foreign key relationships between collections. The relationship is specified by matching up field names and optionally providing a filter.

The goal of publish-composite is to provide a more flexible way of specifying those relationships. They could be based on almost anything. An example might be a "related posts" kind of functionality where the body of one post is scanned for keywords which are used to search for other posts. I suppose it might be helpful to add an example like that to the README.

@dandv
Copy link
Author

dandv commented May 17, 2014

Thanks for the quick reply. That sort of example would help a lot distinguish the package from prior art like publish-with-relations and reactive-publish. BTW, I've mentioned publish-composite in a comment on Discover Meteor's Reactive Joins with Meteor post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants