Fiori 代码规范1---项目结构

本文介绍了使用Eclipse和WebIDE进行Fiori应用开发的基本结构。详细解释了UI5项目中各文件夹的作用,包括项目的入口文件index.html,配置文件Component.js与manifest.json,视图文件夹view,控制器文件夹controller,国际化文件夹i18n,模型及工具文件夹model&utils,样式文件夹css以及图片文件夹img。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

通常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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值