Axelor Doc

The concept

The web application is implemented using one or more modules. A module defines the domain objects, object views and business logic. Domain objects and views are defined declaratively using XML syntax.

The web interface requires a specific view of an object. A form view named contact.form is referenced like this:

The concept

The total flow is the following:

  1. A viewing request is received by the browser plug
  2. The solver for the Web module asks the kernel to load the view
  3. The views received from the kernel is converted into JSON response and sent to the application running in the browser
  4. The Web application then parses the JSON definition and generates the HTML code to view the picture
  5. During the analysis of view, the web application checks the associated objects and application metadata objects (such as field definitions, etc.)
  6. Combined with these meta-information, the view is rendered on the browser
  7. Depending on the type of view, the client can perform various operations, including SCRUD (search, create, read, update, delete)
  8. Depending on the operations, as several events, onLoad, onNew, onClick, onChange, etc. are sent to the Web module
  9. The Web module solves requests, call the appropriate API and returns a result to the client in an appropriate format