Skip to content

abap2UI5/frontend-legacy-free

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-legacy-free

Frontend of abap2UI5 (legacy-free)

This frontend is bootstrapped from the new legacy-free distribution of OpenUI5 (1.142.0-legacy-free) – the build without jQuery.sap.*, synchronous APIs and other deprecated globals. It is essentially a preview of the API surface that UI5 2.x will enforce.

What is UI5 legacy-free and why it matters for the future

*-legacy-free is a parallel distribution of OpenUI5/SAPUI5 (starting with the 1.136.x line) that ships the same controls and APIs as the regular 1.x build but with everything deprecated removed up front. In practice that means no jQuery.sap.*, no sap.ui.getCore(), no synchronous module loading (sap.ui.requireSync, sync XHR), no global view/controller factories, no jQuery bundled into the core, and none of the compatibility shims that 1.x kept around for backwards compatibility.

It matters because UI5 2.x – the next major release line – will enforce exactly this surface. By developing against the legacy-free build today, the project gets several things at once:

  • A real-world preview of UI5 2.x. Anything that still works here will keep working on 2.x; anything that breaks is something that would have broken on 2.x anyway, just discovered earlier and on our terms.
  • No future migration cliff. The painful "rip out jQuery.sap and sync APIs" step that most UI5 1.x apps will eventually face is done incrementally as part of normal development, not as a one-shot upgrade project.
  • A leaner, faster runtime. Dropping jQuery and the compatibility layers shrinks the bootstrap, speeds up startup and reduces memory footprint – particularly noticeable on mobile and constrained networks.
  • Modern, async-first patterns. Async module loading, async component and view creation and standard Promise-based APIs are the only option, which keeps the codebase aligned with the current web platform instead of with patterns from the early 2010s.
  • Cleaner extension points for abap2UI5. Custom controls and the glue code in src/ can rely on stable, documented APIs only, without reaching into internals that are scheduled for removal.

In short: the legacy-free build is the bridge between today's UI5 1.x ecosystem and tomorrow's UI5 2.x. Building abap2UI5's frontend on it now means the framework is ready for 2.x the day it lands, instead of chasing it afterwards.

Installation

This repository is a BSP application (Z2UI5_V2) and is installed straight into an SAP system with abapGit. Clone this repo into a new abapGit online or offline project, pull it into a local package and activate – there is no separate build step.

On activation abapGit creates the BSP itself and the matching ICF service nodes named Z2UI5_V2 under /default_host/sap/bc/bsp/sap/ and /default_host/sap/public/bc/ui5_ui5/sap/. Make sure both ICF nodes are activated (transaction SICF) so the frontend can be served.

The application can be installed and run in parallel to the classic abap2UI5/frontend repository: because the BSP and the ICF nodes use the dedicated Z2UI5_V2 name, the legacy-free frontend lives next to the existing one without overwriting or conflicting with it. That makes it easy to try out the legacy-free / UI5 2.x preview side by side and switch back and forth simply by pointing your apps at the corresponding URL.

Why try the v2 version

  • Future-proof. Apps already run on what UI5 2.x will require – no big-bang migration later.
  • Smaller and faster. No jQuery and no compatibility layers means a leaner core and quicker startup.
  • Cleaner foundation. Modern async patterns, no hidden globals, better alignment with current web standards.

Learn more

About

Frontend of abap2UI5 (legacy-free) (optional)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors