SAPUI5
来源:互联网 发布:win7网络共享无法打开 编辑:程序博客网 时间:2024/04/28 22:52
SAPUI5 是一个企业网页前端架构,基于jQuery. 和之伴随的还有一个开源的OpenUI5,可以在Github上获取. 除此之外,二者的区别是什么呢?
开发UI5有3种环境方法:<1> Eclipse+ SAPUI5 Tools; <2>SAP HANA Studio + SAPUI5 Tools; <3>WebIDE.
第<3>种最简单,只要一个HCP账号就可以了,
登录HCP (没有账号的话可以先注册)
点击侧边栏的 Subscriptions
点击 webide
点击 Application URL
SAPUI5使用MVC(M - model, V - view, C - control)架构, 通过数据绑定连接数据源与实体. M指数据源, V和C指实体.
UI5指定资源的位置:
For OpenUI5 you can usesrc="https://openui5.hana.ondemand.com/resources/sap-ui-core.js".
For accessing SAPUI5 on the SAP HANA Cloud Platform, for example, usesrc="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js".
Model View View Controller
Data Binding
Components
SAPUI5 is a client UI technology based on Javascript, CSS and HTML5.
To use SAPUI5 features in your HTML page, you have to load and initialize the SAPUI5 library.
XHR --- XMLHttpRequest
CDN --- Content Delivery Network
Bootstrap file:
sap-ui-core.js is the standard bootstrap file, contains jQuery, jquery-ui-position and only the minimum required parts of the core library.
Components:
Component.js --- the component controller
manifest.json --- a descriptor
- SAPUI5
- SAPUI5-Button
- SAPUI5-HTML
- SAPUI5 Theme
- SAPUI5-List
- SAPUI5-Routing
- SAPUI5 Table
- SAPUI5 - Component
- SAPUI5 (21)
- SAPUI5 (22)
- SAPUI5 (23)
- SAPUI5 (24)
- SAPUI5 (25)
- SAPUI5 (26)
- SAPUI5 (27)
- SAPUI5 (29)
- SAPUI5 (30)
- SAPUI5 (31)
- LightOJ 1348 Aladdin and the Return Journey(树链剖分)
- javascript中数组的foreach函数
- ROS_Kinetic_10 ROS程序基础Eclipse_C++(一)
- android 更新歌曲播放进度条seekbar的三种方法
- ping和tcpdump
- SAPUI5
- 排序算法之冒泡排序
- 2014年 蓝桥杯决赛(Java)
- MySql使用DATE_FORMAT对日期进行格式化
- 科技节编程大赛三等奖作品——谢明轩
- 记数排序
- POJ1840(哈希)
- swift基本语法(总结提炼版)之013 swift 之闭包返回值
- Spring MVC和Struts2的比较