Angular.JS in the HANA Cloud Platform
One of the great things about HANA Cloud Platform (HCP) is how flexible it is with multiple different technologies.
But, I’ve run in to the following question at many of the talks and CodeJam’s I have presented at during the past year: If our organization doesn’t want to use SAP UI5, what other platforms should I use?
The problem is that almost all of our HCP documentation talks about UI5. This makes sense, since we wrote UI5 and therefore almost all of the tools for it are part of HCP. In fact, when you start a project, almost all of the choices are about which version of UI5 to use. But, this doesn’t mean that UI5 is your only option. HCP supports many other front end toolkits.
So, we wrote a new set of tutorials, about other technologies which can also be used in HCP. The latest is Angular with HANA Cloud Platform.
What is Angular.JS?
Differences between Angular and UI5
There are several major differences between UI5 and Angular – starting with the fact that UI5 was written by SAP, and Angular.JS by Google.
The major difference between the two is the page design. In UI5, the page design and layout is mostly defined by the framework, and the components place themselves inside that overall framework. Angular provides a “blank page” concept, so the design can be just about anything.
UI5 contains a lot of pre-built components that come “in the box”. Angular doesn’t have any components in the core libraries. But, like most open source systems, there are multiple projects out there which provide large numbers of custom components. Both frameworks allow you to create your own components, customizing the code as much as you want.
Which should you choose?
Which is better? This seemingly easy question is actually very hard to answer.
Many organizations ask the “architecture” group to come up with a set of standards. Those standards cross lots of technologies and programs. So, you should choose the front end library that makes the most sense to you.
Feel free to use SAP UI5, React, Angular.JS, or your own choice of framework. HCP supports all of them!