简体   繁体   中英

Creating objects and linking them to a user in parse and JS

I have created the basic functionality of a system - I can currently register, log on, etc. I'm currently trying to implement a settings page where users would be able to add a list of classes to their account. I've looked around on the documentation but it's a bit unclear as to what I need to use. I think Collections seem the most appropriate, but again the documentation is a bit unclear. Could anybody clarify on the usage of this (and whether I should be using Collections for this), as well as possibly a link to a more in-depth documentation/tutorial?

Hope this made sense.

As I understand, you want to connect the user with the settings.

Therefore, maybe fiddle around with Current.User and it's functionalities User Docs on Parse.com

Also maybe a bit of a starter tutorial which shows how to create favorites for a user, this requires Current.User and a Collection (the books), but you can also use settings as a collection (Collections are based on Backbone Collections ).

With settings it might be possible and better to create seperate columns in the User datatable and save the settings there. This way you don't have to make a seperate connection with the User and the collection.

Is this what you were looking for? It feels a bit vague..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM