saschakiefer / generator-openui5

yeoman generator for OpenUI5 applications and assets
Other
64 stars 17 forks source link

Async loading of UI5 framework ? #16

Closed js1972 closed 10 years ago

js1972 commented 10 years ago

Check out this on jsbin: http://jsbin.com/IGUhOfu/2/edit

Interesting... could possibly add similar to the generator as an option. Always better to show a spinner (or something) instead of blank when loading the libraries - which are pretty slow - especially from openui5.hana.ondemand.com.

saschakiefer commented 10 years ago

Hmm, interesting approach. I'm not sure abozt any side effects, though. Two out of my 5 tests (open the link) in Firefox failed. Is there any "productive" experience with that?

js1972 commented 10 years ago

Really. Worked fine in chrome.  I'll have a look with Firefox. Shouldn't be any side effects. It's basically just calling the ui5 framework from an intermediary javascript. Anyway hopefully your colleagues there are working on ways to speed it all up.  ;-)

On Mon, Jan 6, 2014 at 10:48 PM, saschakiefer notifications@github.com wrote:

Hmm, interesting approach.

I'm not sure abozt any side effects, though. Two out of my 5 tests (open the link) in Firefox failed. Is there any "productive" experience with that?

Reply to this email directly or view it on GitHub: https://github.com/saschakiefer/generator-openui5/issues/16#issuecomment-31653222

js1972 commented 10 years ago

I think I'll close this one for now... We need more detail from the UI5 team once they properly publish on github about their build process. In the meantime a developer can still a achieve psuedo async loading by only loading their views "ondemand" instead of all at application startup.