Hello gurus,
Are there any best practice guidelines to develop a complex app in SAPUI5? There is an excellent guide Application Best Practicebut it looks not full enough.
Questions:
- where to place the logic which can be called from different views? In the Component.js? How to call it passing the context?
- how to pass data between views controllers?
In WebDynpro MVC approach there is a central Component Controller responsible for data manipulation with backend Model and manage a cross-view data (e.g. settings). So view controllers only handle a user input, manage their local data and then call a central controller.