Creating our first mobile app
Once the top-level design of the application is determined, the data flow is designed, and the interface between the app and the backend system is confirmed, it is time to start the development.
A simple example of a flight searching application will be covered in the next sections.
Application and project structure
The SAPUI5 applications are supposed to follow the Model-View-Controller (MVC) paradigm when the build and the libraries are designed to support it. The top-level architecture of the application should consist of JavaScript controllers responsible for any application logic, data services to provide and store information (either as .json
files, Simple Object Access Protocol (SOAP) services, or OData Services) attached through models, and views defining the UI. Although there is a technical possibility of creating views using JavaScript files or JSON objects, it is highly recommended that you use XML files instead. The MVC paradigm forces the separation...