I tried going through the official documentation for getting to know about the concepts of views, templates, handlebar, and component in ember.js but not able to get a clear idea of how the above are used in different scenarios. If anyone can give me a real life analogy, it would be really great. I'm sorry but I'm very new to JS and ember. Thanks in advance
Asked
Active
Viewed 95 times
0
-
Instead of just reading the docs try going through some tutorials. – Dave Newton May 21 '14 at 11:36
-
I went through a few examples Dave, still I'm not understanding properly. Any little help would help me. Thanks a lot – stranger May 21 '14 at 11:50
1 Answers
2
For the difference between components and views I suggest you read the following page.
Components are reusable controls. Like a star rating button or anything like that.
In the template you can specify the position of the elements in HTML. In Ember you use Handlebars for the templates.
You should also read this: Information about components
I hope that this helps you.