Ember.js architecture for dashboard use

I'm starting to work with Amber. This seems like a pretty good structure, I read a lot of tutorials about binding, observers, views, objects, etc. And I feel that I have a good knowledge of the basic materials about Ember. I made some small POC. Now I want to create a control panel that will contain different types of widgets (different sizes, layout, information, etc.), and these widgets will use different APIs. I have seen many such examples:

http://addyosmani.github.com/todomvc/architecture-examples/emberjs/ http://andymatthews.net/code/emberWineshop/

But they all perform the same watch lists. I am trying to understand how different kinds of views can be visualized in my main panel view.

+4
source share
1 answer

Take a look at Ember.ContainerView . It allows you to manage a collection of childViews , which can be anything that extends from Ember.View . That would be my approach if I were building a widget panel.

+4
source

Source: https://habr.com/ru/post/1440918/


All Articles