Using Ember models to better structure data
Models are how Ember manages properties of data objects. These are most frequently used with data coming from an API or other third-party, and controlled using the
ember-data add-on. The basic setup of one looks like this:
Models can also use computed properties in case some values must be created using others. The properties put in as arguments, whenever they change, will update the computed properties. Just don’t change any values within computed properties!