Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

Chuck Norris Jokes SAPUI5 1.30 App

$
0
0

 

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.

 

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.

 

The app structure

If you look at the repository you will think "WHAAAT??? So much 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

 

It gives you a good starting point if you want to extend it. I must admit there are no tests for this small app. When preparing this app I had the upcoming Innojam in Berlin on my mind.

 

 

Pictures

 

The app:

jucknorrisjokes_image.png

 

The folder structure:

app_structure.png

Start the app:

qrcode.png

 

Summary

So happy SAPUI5 coding and enjoy the Juck Norris Jokes!

 

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


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>