Getting Started with SAPUI5: Alternative Guide
With reference to my recent post about the ‘sapui5bin’ repo on Github, I had also put together a Getting Started guide for SAPUI5 for some colleagues, with particular focus on getting up and running with a portable and independent environment you can have on your laptop. In the spirit of “you can never have too many getting started guides” (as I learn different things from different guides) I thought I’d make my guide available for your reading pleasure.
Here it is: Getting Started with SAPUI5
Taken from the Table of Contents, here’s what it covers:
Introduction
Download and unpack SAPUI5
Choose a home development location
Set up Apache
Configure Apache
Access your local SAPUI5 docs
Set up git for Windows
Clone sapui5bin
Relax
Share & enjoy!
Thank you for sharing! (especially for the GITHUB section)
Nice document!
I wholeheartedly agree with 1) your "I learn different things from different guides" statement, and 2) the final "Relax" paragraph in your guide! 😉
Quick and easy document. Thanks for posting. One quick note, of course Apache or Tomcat are the default choice of web layer for many including me. These days with a lot of stuff happening on the client side ( mainly with JavaScript) python -m SimpleHTTPServer is becoming my favorite. Give it a go someday.
Hi Pankaj
Thanks. Yes, I use the SimpleHTTPServer on other projects, but I'm using Apache because of the alias and reverse proxy requirements. I wasn't aware that SimpleHTTPServer handled those?
cheers
dj
Another gem bookmarked. Love the 'getting started' concept (though for most subjects I never make it past that stage).
Will have a look later, most things should already be in place on my laptop, but you never know, and yes: you can always learn something from another guide.
Fred
Hi,
Thanks for the nice guide. Is there anyway to get the static libraries from market place so that we can run the actual version not the trial version. In our case we would like to have production applications running on apache rather portal or ABAP app servers.As apache is officialy supported by SAP how to get the static libraries to install it in apache.
Thanks in advance,
Abdul Raheem
Thanks DJ!
One point that I'd like to reinforce is that you cannot necessarily follow some of the SAP guides to the letter with a local set up. I'm not a webhead as you know, so I followed the basic HelloWorld "fadey button" example in the Developer Guide.
Sure enough, it didn't work (in Chrome, where I prefer to do my Gateway work). Luckily Thomas Jung has been advocating the developer tools in Chrome just today so I used them to locate the problem. Turned out to be Same Origin Policy 🙁
I could not figure out why all the demokit examples worked and my simple test didn't.
Had a lightbulb moment - remembered your Apache config had an alias for the work folder. So I put my html file in my work folder (not the desktop,as per SAP guide) and it worked via localhost addressing (now in same origin).
P:S: it did work from desktop with IE10.
Posted something similar just that instead of apache, I used nodejs (handy to do it on laptop)
http://scn.sap.com/community/developer-center/front-end/blog/2014/11/24/openui5-development-on-nodejs
Can't see document 🙁 . Can you please check and share again...
Just checked, it's still available
Hey DJ Adams,
I just tried to download the file from this post and it seems the file is no longer available. Would it be possible to update the link?
Thanks,
sepo
Hi there - I'm afraid the document has disappeared, not sure what's happened to it. Sorry about that. But it is probably out of date now - things have moved on since I wrote that five years ago. In case you're just starting out, I'd recommend the use of the SAP Web IDE for UI5 development - a zero install option, with reverse proxying built in and everything. Good luck!
Thank you :-)! Have a good one!