tunapanda / funzo-app

Cordova app running ember and h5p
2 stars 3 forks source link

Create Ember data models #1

Closed Jakeii closed 8 years ago

Jakeii commented 8 years ago

These needs to be created with their relations and attributes

Jakeii commented 8 years ago

If anyone would like to chip in on this see this page on defining models for help https://guides.emberjs.com/v2.2.0/models/defining-models/

usernamenumber commented 8 years ago

Quick question: does photo need to be a special data type, or is it just a string that will be used to construct a url?

To put it another way: is each of the properties described here either a DS.attrib() with no special transform, an Ember.computed(), or a DS.hasMany(), or are there more complicated ones?

Jakeii commented 8 years ago

I'm working on the user one as part of the login work I'm doing. Photo would just be regular attr (base64 encoded image). Any relations will be has many or has one etc