Virtual Applications
Contents
This feature is experimental. It’s still under development design but is available for users to test and provide feedback. |
Virtual Applications allow to extend/override schemas and descriptors from usual bundled application or create a standalone application container. Applications, schemas and descriptors data are stored in nodes in separate system.app
repository. Use lib-app to manipulate virtual applications.
Structure
Node structure of a virtual application follows file structure inside the site
folder of a bundled application:
virtual-app/
site/
content-types/
layouts/
mixins/
pages/
parts/
x-data/
site.xml
styles.xml
Use lib-schema to manipulate schemas and descriptors of virtual apps.
Application Mode
Depending on app data and config, the application can work with its resources in different ways:
- VIRTUAL
-
Shows that only virtual application is present in the system and support of virtual apps is enabled.
- BUNDLED
-
Can be one of the next cases:
Only bundled application is present in the system.
Both bundled and virtual applications are present, but bundled resources are configured to override virtual.
Both bundled and virtual applications are present, but virtual app support is disabled via config.
- AUGMENTED
-
Both bundled and virtual applications are present in the system and virtual resources override bundled.
Check the documentation to find out how to configure application behaviour.