SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

About the main file #1237

Closed x09326 closed 7 years ago

x09326 commented 7 years ago

Hi, I'm going to host this lib on cdnjs.

I don't know which files should be added. Could you guys help me? Thanks. https://github.com/cdnjs/cdnjs/issues/9244

matz3 commented 7 years ago

Hi @x09326!

You might use the OpenUI5 Runtime Package from here: http://openui5.org/download.html

The main file to include in a page is located in resources/sap-ui-core.js. Please also see the Getting Started guide for more information on how to use OpenUI5: http://openui5.org/getstarted.html

Please note that we already provide a CDN hosting and therefore we don't see a need for cdnjs or other solutions: https://openui5.hana.ondemand.com/resources/sap-ui-core.js (latest) https://openui5.hana.ondemand.com/1.38.11/resources/sap-ui-core.js (specific version)

PeterDaveHello commented 7 years ago

@matz3 CDNJS can help promote library, provide better performance than most of individual CDNs as is powered by Cloudflare enterprise plan, and there are many websites already using CDNJS, so use your library from CDNJS can be faster thanks to the HTTP/2.0 tech, it'll also be another option for users, would you like to help we host it? 😄 Thanks.

matz3 commented 7 years ago

@PeterDaveHello as already mentioned in my comment, you can download the OpenUI5 Runtime Packages from here: http://openui5.org/download.html It contains all the pre-built files which can be directly consumed.

Please let me know if there is anything else we can help you with 👍

PeterDaveHello commented 7 years ago

It'll be great if we can apply autoupdate mechanism as there are more than 3000 libraries on cdnjs.com now, we can't manually update them by a human.

matz3 commented 7 years ago

Ok got it. Currently the UI5 libraries are provided via separate git repositories to be consumed, e.g. via the bower package manager, see: https://github.com/openui5?q=packaged-

UI5 is currently not on npm (which seems to be your recommended way), but we would like to get there in future. So right now it might be consumed from the git repositories which are already pre-built so no further steps should be required.

PeterDaveHello commented 7 years ago

Thanks @matz3. cc @sufuf3