Skip to content

Single Page Application (SPA)

IFS Aurena uses the Single Page Application approach when it comes to communicating between the client and the server.

What is SPA?

In a Single-Page Application (SPA) the entire page is loaded into the browser after the initial request, but subsequent interactions take place using Ajax requests.

When the user interacts with the page, the client only requests relevant data from the server that is needed to update the current view. This means that the browser must update only the portion of the page that has changed; there is no need to reload the entire page.

The SPA approach reduces the time taken by the application to respond to user actions, resulting in a more fluid experience.

SPA Architecture

Figure 1 - Single Page Application Architecture

In order to achieve this, IFS Aurena uses the REST communication method.


RE presentational S tate T ransfer; is an architectural style for developing web services. It reduces the coupling between client and server and is simple, lightweight, and scalable.

In REST, the data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs). These resources are then manipulated using standard HTTP methods. Each CRUD action in IFS Aurena has a corresponding HTTP method as shown below:

CRUD Action Corresponding HTTP Method Description
Create POST The POST method is used to create new records.
Read GET GET requests are used to retrieve resource representation/information.
Update/Replace PUT The PUT method is used to update existing records.
Partial Update/Modify PATCH The PATCH method is used for partially updating an existing record (whereas PUT should only be used when replacing a record in its entirety).
Delete DELETE The DELETE method is used to delete records.