Web programming learning 3: Using SAPUI5 to create Web application UI

Source: Internet
Author: User

For the third exercise, try SAPUI5. This is an important UI library of SAP. It is fully implemented through HTML5 and can be used as the UI development for Web and mobile applications.

It is now open-source. Here you can download:

Http://sap.github.io/openui5/

SAPUI5 is powerful and easy to develop. It contains many components and themes and is developed through MVC. Let's take a look at it below.


Apache Web Server 2.2.26 and SAPUI5 is 1.18.


1. Install and run the Apache server.

2. decompress the downloaded sapui5 package to the apache server Application directory. Here is/Application/MAMP/htdocs.

3. Test.

Open http: // localhost: 8888/sapui5/


4. Create a static web project hellosapui5

5.create index.html

<!DOCTYPE html>

6. Running result:


Summary:

This simple example shows the Table control of SAPUI5, creates a table, binds data in json format to it, and displays the data on the page.

The code is very simple, the interface is very beautiful, very good and powerful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.