Skip to content
Lance Pollard edited this page Sep 25, 2012 · 1 revision

The Object Model

Tower uses the core Ember Object Model, which is inspired a lot by Ruby and other dynamic programming languages.

The following concepts are available for models. Due to this fact, some models can be quite "thick". Using the power of Javascript mixing however, it is easy to separate these concepts (or concerns) if the models become too thick.

  • Classes
  • Mixins
  • Concerns
  • Accessors
  • Observers
  • Events
  • Binding
  • StateMachines
  • Run Loops

Classes

class SomeClass

class App.User extends Tower.Model
SomeClass = ->

App.User = Tower.Model.extend()
Clone this wiki locally