Skip to content

Instantly share code, notes, and snippets.

@timlizzy
timlizzy / OpenUI5: JavaScript view
Created December 13, 2013 10:42
OpenUI5: JavaScript view
<!DOCTYPE html>
<html><head>
<meta name="description" content="UI5 MVC example with JS view" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>MVC in 22 Seconds Example</title>
<!-- Load UI5, select gold reflection theme and the "commons" control library -->
<script id='sap-ui-bootstrap' type='text/javascript'
@timlizzy
timlizzy / OpenUI5: XML view
Created December 13, 2013 10:41
OpenUI5: XML view
<!DOCTYPE html>
<html><head>
<meta name="description" content="UI5 XML view example" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>UI5 MVC with XmlView</title>
<!-- Load UI5, select gold reflection theme and the "commons" control library -->
<script id='sap-ui-bootstrap' type='text/javascript'
@timlizzy
timlizzy / OpenUI5: UI5 Table Example
Created December 13, 2013 10:31
OpenUI5: UI5 Table Example with data binding, using a local JSON Model
<!DOCTYPE html>
<html><head>
<meta name="description" content="UI5 table example with local JSON model" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>UI5 Table Example</title>
<!-- Load UI5, select gold reflection theme and the "commons" and "table" control libraries -->
<script id='sap-ui-bootstrap' type='text/javascript'
@timlizzy
timlizzy / OpenUI5: UI5 custom control
Created December 13, 2013 10:29
OpenUI5: Example how to create a UI5 custom control
<!DOCTYPE html>
<html><head>
<meta name="description" content="UI5: Create your own control" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>UI5 custom control in 19 seconds example</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='https://openui5.hana.ondemand.com/resources/sap-ui-core.js'
@timlizzy
timlizzy / OpenUI5: Mobile App with data-bound List
Created December 13, 2013 10:24
OpenUi5: Mobile App with data-bound List
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>Mobile App with data-bound List</title>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
@timlizzy
timlizzy / OpenUI5: Hello World
Last active February 3, 2020 07:24
OpenUI5: Hello World
<!DOCTYPE html>
<html><head>
<meta name="description" content="UI5 hello world" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<title>Hello World</title>
<script id='sap-ui-bootstrap'
src='https://openui5.hana.ondemand.com/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.m'></script>