docs

Extension Stability Across Application Updates

When extending OpenUI5 applications, it’s essential to understand the compatibility implications that come with application updates.

While OpenUI5’s extension mechanisms are designed to survive updates without overwriting customizations, the degree of compatibility that can be guaranteed is limited.

The challenge lies in the dynamic nature of software evolution. As base applications evolve, their internal structure, naming, and architectural patterns may change. Your extensions, which depend on these elements, need to be designed with resilience in mind to gracefully handle such changes.


Extension Compatibility Risks

OpenUI5 provides robust extension mechanisms, but each approach comes with its own stability characteristics.


View Modification (Control Visibility Changes)

View modifications are in general a stable extension type, as they only affect the visible property of controls.

Potential issues for extending applications:

Best practices for extensible applications:


Extension Points

Extension points offer great stability when the base application maintains them properly, but they’re vulnerable to structural changes inside a view.

Potential issues for extending applications:

Best practices for extensible applications:


View Replacement

View replacements provide maximum control but require the highest maintenance effort during upgrades. You should always consider whether extension points or view modifications could achieve your goals.

Potential issues for extending applications:

Best practices for extensible applications:


Controller Extensions

Controller extensions are powerful but potentially fragile if the underlying implementation changes. Controller extensions interact directly with application logic that may evolve significantly.

Potential issues for extending applications:

Best practices for extensible applications: