lastsys / scalajs-openui5

Scala.js facade for OpenUI5.
MIT License
10 stars 2 forks source link

Any tutorial or demo code? #1

Open jizusun opened 6 years ago

jizusun commented 6 years ago

I'm quite curious about this facade, but how can I get started?

Thanks.

lastsys commented 6 years ago

Do you know how to use OpenUI5 in pure JS to start with? https://openui5.hana.ondemand.com

I learned OpenUI5 and wrote this facade simultaneously, just defining the classes in OpenUI5 I was using which means it is incomplete. Then during development, the sap.ui namespace was deprecated in favor of sap.m. I have not updated the facade beyond version 1.38 since my application does not work with >1.40 right now. The way I use it now means I have to load external JS-files to bind controllers in XML-files to SJS-code. OpenUI5 wants to load controllers from separate JS-files dynamically. It can be done differently I have realized, but I have not had time to try alternative ways fully yet.