From zero to hero in four hours
When asked about the benefits of cloud computing one common argument is usually its on-demand character. And indeed, in our time where everybody is busy it’s a huge advantage to be able to access information whenever needed, from anywhere. Or as I keep saying: “Convenience trumps everything else!“
Same rationale is true when it comes to upskilling – the speed of innovation and technology is constantly accelerating and it’s more important than ever to hone your skills to stay up to date (or should I even say to stay relevant?) Given the usual time constraints developers face to learn about new technologies the only viable way is to make it as simple as possible/convenient to do so.
For us at the SAP HANA Cloud Platform team this mindset has became sort of a mantra and it has been the guiding principles for all that we do in regards to developer outreach. Just take the openSAP courses organized by Rui Nogueira , the end-to-end scenarios brought to you by Jens Glander, Bertram Ganz and Thomas Bieser or all the sample code hosted at github.com as prominent examples.
In that tradition, I’m happy to present you a new end-to-end hands-on tutorial that will take you from zero to hero in roughly four hours teaching you how-to combine the most-commonly used platform services to build a full-fledged mobile weather app.
Note: While basic knowledge of Java and the Eclipse IDE is helpful, they are no hard requirements to finish this tutorial, which has explicitly been designed for newbies to the platform. In fact, we provide links and references to the respective frameworks, tools and technologies used for those that want to dig deeper on their own afterwards.
As promised by the title we’ll start completely from scratch and then build out the app step-by-step. Here’s a high-level overview of the individual steps:
- Is there any other/better way to start than with the classic “Hello World”?
- Let’s add authentication so that we know whom we are dealing with.
- We’ll learn how-to expose services via REST to provide an external API (e.g. to be consumed by other apps or the UI)
- We add a persistence layer to manage bookmarking of favorite cities
- We then enhance the persistence layer to be multi-tenant-capable
- Next, we show you how-to use the connectivity service to consume an external service (in our case one that provides weather information)
- Last, we’ll develop a mobile UI using a master-detail template based on OpenUI5
Have fun coding!
PS: If you should get lost along the way… don’t worry! We have created check-points after each step and you can always download the project in the respective state using the respective Release.