Data Storage
Axon.ivy provides multiple possibilities to manage and store project specific data. This chapter provides an overview of all the possibilities with their advantages and disadvantages. Which one should be used depends from case to case.
Content Management
Stores static multi language content like labels, texts, titles, images. More information can be found in the chapter Content Management System.
Web Content Folder
Stores static web files (CSS, JavaScript, Images, JSF-Templates) used in HTML User Dialogs. More information can be found in the chapter HTML content in the Web Content Folder.
Filesystem
Data can be stores in files. Access and management has to be implemented in the project itself.
HTML User Dialog Resources
Stores static web files (CSS, JavaScript, Images, etc.) that are only used in the HTML User Dialog.
Database
Stores and access data in an external database systems. An own database server is necessary and the database schema must be managed outside of Axon.ivy. More information can be found in the chapter DB Step.
Persistency (Java Persistence API)
Stores and access data in an external database systems. An own database server is necessary. The database schema can be generated. JPA is a Java standard that is well documented and widely used. More information can be found in the chapter Persistence.
Web Service
Stores and access data in external systems by using web services. More information can be found in the chapter Web Service Call Activity.
Global Variables
Stores simple name/value configuration pairs. A global variable can have a different value per environment. On the engine there is a UI to change the values of a global variable. More information can be found in the chapter Global Variables.
Application Custom Properties
Stores simple name/value pairs. Good alternative for storing small amount of data instead using a database. More information can be found in the Public API ICustomProperties.
User Properties
Stores simple name/value pairs per user. Can be used to store user settings. More information can be found in the Public API IUser.
Summary
Concept |
Overriding |
Project Dependencies |
Environments |
Public API |
Web Accessable |
Designer UI |
Engine UI |
Knowledge |
---|---|---|---|---|---|---|---|---|
Content Management |
yes |
yes |
no |
yes |
(yes) |
yes |
no |
Novice |
Web Content Folder |
no |
yes |
no |
no |
yes |
yes |
no |
Novice |
Filesystem |
no |
no |
no |
no |
no |
no |
no |
Advanced |
Html User Dialog Resources |
no |
no |
no |
no |
yes |
yes |
no |
Novice |
Database |
no |
yes |
yes |
no |
no |
yes |
no |
Advanced |
Web Service |
no |
yes |
yes |
no |
no |
yes |
no |
Advanced |
Persistency |
no |
yes |
yes |
yes |
no |
yes |
no |
Expert |
Global Variables |
no |
yes |
yes |
yes |
no |
yes |
yes |
Advanced |
Application Custom Properties |
no |
no |
no |
yes |
no |
no |
no |
Advanced |
User Properties |
no |
no |
no |
yes |
no |
no |
no |
Advanced |