I have an app for ember, and the concept of the outlet and connection of the outlet is beautiful, I understand. I don't understand how to have multiple views / controller views inside another without insane nesting
Suppose I am developing an icloud clone where I have email functionality and photo gallery functionality. Now, if I wanted to do something like
*********************************************************** * INBOX LIST ** COMPOSE OR VIEW MESSAGE * * ** * * ** * * ** * * ** * * CONTACTS LIST ** * * ** * * ** * * ** * * ** * ***********************************************************
What I would like to design would be something like
EmailController/View |-- SplitViewController/View |-- InboxListController/View |-- ContactsListController/View |-- ComposeMessageController/View |-- ReadMessageController/View
Where can I swap them to the SplitView level or delete them alltogether, but I donβt see a good way to do this with only one outlet . This would make me follow things inside things that should not be nested. Using a single output approach, my structure will be more like
EmailController/View |-- SplitViewController/View |-- InboxListController/View |-- ContactsListController/View |-- ComposeMessageController/View |-- ReadMessageController/View
How do I find an architecture style that matches Ember.js / Router that still allows for more complex nesting?
source share