Thursday 15 September 2011

javascript - How to create a new copy of a collection in Meteor depending on a url -



javascript - How to create a new copy of a collection in Meteor depending on a url -

i building magnetic poetry game can see here

http://test-magnets.meteor.com/

the thought home page bunch of people can collaborate , build poems together. there mongo collection magnets stores position on screen.

this working great interested in having alternative people create own poems other people can't access.

i have used iron router generate url based on userid. need build functionality of creating private re-create of magnet collection user can utilize , not impact collection used in colloborate/homepage.

i have faint ideas of how this.

maybe dynamically generate new magnet collection userid?

maybe publish , subscribe can handle this?

there might bundle available this?

if has suggestions how implement this, appreciated. thanks!

you create fridge collection , add together fridgeid key magnets references fridge belong to. configure somewhere homepage shows magnets fridge id 1, , generate url based on fridge id rest.

that allow each user have several fridges or have fridges several users can collaborate.

javascript mongodb meteor

No comments:

Post a Comment