javascript - EmberJS when to use a view? -
I am a new EmberJS user, so I am trying to understand the main components of the API and the framework. A key concept I am having difficulty in holding my head is right when using when does it use a Take a look at this: In Amber, a view Always connected to the controller works as a reference to the data provided for a controller view, as well as also acts as the handle of events in the scene. For amber scenes, an amber component is not connected to any related amber controller, because it is self contained, in which both data and events are related to it which handles it. In this sense, components are easy to reuse in various applications of the application, as well as in different applications. Ember.View vs.
Ember.Component . For my understanding,
Ember.Component is a way to create your own markup / tag in a template, but when I read the writing on the Amber site, I still can not understand that when Will anyone use a scene vs. a component
ember.Component versus an
Ember.View ? I would like to see more examples of when
Ember.View is important and understandable but I am not receiving it. Many times I can write markup directly in my handler template and use amber I can completely stop doing taxes. I can not think of a case where it would mean to use one.
Comments
Post a Comment