
SAPUI5,FIORI,代码规范
文章平均质量分 71
星南樱射-S
SAPUI5 Firoi HTML5 前端开发
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fiori 代码规范0---导读
接触SAPUI5 FIORI有1年多的时间,经过几个项目后,自己整理出一些代码规范,非常希望大家指正,指导。代码规范从项目结构起步,按照项目结构展开各个结构部分的代码规则。具体目录详细如下:1 Basic structure 1.1 Basic structure of WebIDE 1.2 Basic structu原创 2017-10-29 13:40:19 · 541 阅读 · 0 评论 -
Fiori 代码规范1---项目结构
通常Fiori的开发会用 eclipse 或者 WEBIDE。项目结构也是不相同的。1. Basic structure1.1 Basic structure of WebIDE1.2 Basic structure of EclipseA SAPUI5 project is a typical M-V-C struc原创 2017-10-29 14:28:37 · 646 阅读 · 0 评论 -
Fiori 代码规范2---代码结构详解1
2 Details for structure2.1 index.htmlThe entryof app. It has two script tags.The first script tag is to load and initialize the core modules with the followingconfiguration options原创 2017-10-29 14:59:42 · 445 阅读 · 0 评论 -
Fiori 代码规范2---代码结构详解2
2.3 view Thereare 4 view types: XML view, JS view, HTML view and JSON view.Usuallywe use XML view in the projects. In the XML view, we create the view bycomponent labels.In the labe原创 2017-10-29 20:35:13 · 397 阅读 · 0 评论 -
Fiori 代码规范2---代码结构详解3
2.3.3 Show/Hide componentFor some function, the app need to show or hide component, we have two ways to doa) In the view:i. Define a JSON model and set the model to view in the cont原创 2017-10-30 21:17:10 · 317 阅读 · 0 评论 -
Fiori 代码规范2---代码结构详解4
2.4 controllerWe extend the array of required modules with the fully qualified path.Once all modules are loaded, the callback function is called and we can makeuse of both objects by accessin原创 2017-10-30 21:39:55 · 346 阅读 · 0 评论 -
Fiori 代码规范2---代码结构详解5
2.5 i18nMultiplelanguage files are put in this folder.In thefile, you can define texts according to different views, or you can defineaccording to component, for example,forbuttons, we ca原创 2017-10-30 21:51:30 · 367 阅读 · 0 评论