Create applications with Ember.js
The framework Ember.js
Setup project Ember.js
In this case we have defined the version property by assigning a value of 1.0, and we have handled the event by displaying a message ready. Handling the ready is analogous to using the ready () jQuery and its purpose is to make sure that the DOM and the infrastructure provided by Ember.js have been completely loaded by the browser.
Definition of the model (model MVC)
Defining the controller
The ArrayController provides the default property content to contain the tweet. In our case, we initialized the property with an empty array. To load tweets of Cmswiki.net in this structure create the method loadTweets ():
View and Handlebar
Interaction with the user
In this expression we specify the action to be performed at the click on the list, indicating the method and through the target, the controller to which it belongs.
Conclusions and insights
The button "I like" was definitely one of the secrets of successful Facebook Twitter so - its direct competitor in the field of social networking - have decided to introduce a similar tool in their platform, a button that would take the name of "Star ".