Chuck Norris Jokes SAPUI5 1.30 App
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.
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
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.
The folder structure:
Start the app:
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”.