Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
3,688

Links

Introduction

Over the weekend I've been tinkering around to create a small SAPUI5 "getting started" app which is based on the new SAPUI5 tutorials (released with 1.30). It is a bit more than a "Hello-World" but not as detailed as the "Walkthrough" tutorial.

The app has just one page and uses a JSON model and was build with the SAP Web IDE.

I am sure you have built lots of Sales Orders, Employees, Invoices and whatever apps. Business apps can be tedious, so I thought a more fun and "useful" example application would make it easier for you get started.

:wink:

So why not Juck Norris and some nerdy jokes? And yes! There is an API for that! And when you hear API - yes I use the HCP destination service as a proxy.

See the app in action.

Go to the app's repository.

The app structure

If you look at the repository you will think "WHAAAT??? So many files for such a small app???".

But that was intentional! The app is indeed small, but has a very good structure:

  • component based
  • view & controller folders
  • app descriptor for routing
  • not found view
  • translations
  • styles

Head over to the app's repository, explore the source code and find information about how to deploy it to your SAP Web IDE.

It gives you a good starting point if you want to extend it. I must admit there are no tests for this small app.

Pictures

The app:

The folder structure:

Start the app:

Summary

So happy SAPUI5 coding and enjoy the Juck Norris Jokes! :lol:

Background Info: The idea for this app is based on the fact that our Jenkins CI somehow also has a "Chuck Norris Jokes plugin".

5 Comments