通常Fiori的开发会用 eclipse 或者 WEBIDE。项目结构也是不相同的。
1. Basic structure
1.1 Basic structure of WebIDE
1.2 Basic structure of Eclipse
A SAPUI5 project is a typical M-V-C structure project. It usually contains folders and files :
-
index.html
the entry of the project
-
Component.js & manifest.json
The configuration of the app
-
view
views of the app
-
controller
controllers of the app
-
i18n
multiple languages of the app
-
model & utils
common operation of data(format function,sort function, and so on)
-
css
style of the app
-
img
images of the app
-
neo-app.json ( in WebIDE)
configure destination