Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 566
theuseduser Avatar asked Dec 31 '13 13:12

theuseduser


1 Answers

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..

like image 174
Hendrik Vlaanderen Avatar answered Oct 06 '22 17:10

Hendrik Vlaanderen