0

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

stranger
  • 143
  • 2
  • 12

1 Answers1

2

For the difference between components and views I suggest you read the following page.

Ember View and Components

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.

Community
  • 1
  • 1
Tim
  • 105
  • 7