Using Contineo Libraries

Contineo provides numerous libraries with reusable components. Each library is a collection of reusable components. For example, XLib.People contains Person, Employee, and Customer; where as XLib.Locations contains Geolocation, Latitude, and Longitude.


Adding Libraries to an Application

Any Contineo application may be reused as a library in other applications. Each library is a collection of reusable components. For example, "XLib.People" contains Person, Employee, and Customer, while "XLib.Locations" contains Geolocation, Latitude, and Longitude.

Steps:

  1. Click Application and open the properties window.

  2. Select the libraries to be used in the Properties > Libraries property. See the following example:

    Add Library

  3. Click Save to save the changes in applications.


Overriding Library Components in an Application

Properties of components in libraries may be overridden at the application level. For example, you may want to modify a SQL in a library or modify the REST API endpoint for an external service integration provided by a library. To do this:

  1. Open the application and select the Routing view.

  2. Open the Library Overrides tab. You may drag library components and modify their properties as required.

  3. In the following image, you are searching for the Core database component and adding it in the overrides section:

    Core DB Override

  4. Next, click Core Database under Library Overrides and modify its properties to point it to your application database.

    Core DB Override Settings


Libraries Available in Contineo

Module

Description

Xlib.Core

This contains all the commonly used patterns and configurations required for Web Application design. The basic reusable component is the Persistent Object (part of XLib.Core). This component contains CRUD (Create, Retrieve, Update, Delete) logic along with audit trail functionality. Almost all the entities inherit Persistent Objects directly or indirectly.

Xlib.People

This contains all the commonly used patterns required for people, organizations, and employees.

Xlib.Locations

This contains all the commonly used patterns required for places, facilities, and map-based applications.

Xlib.IoT

This contains all commonly used patterns required for IoT and connecting devices.

Xlib.Items

This contains all commonly used patterns required for equipment, things and their locations, purchases, and templates.

XLib.Financial

This contains all commonly used patterns required for purchase, revenue, accounting, expenses, and PO templates.

XLib.Measurements

This contains all commonly used patterns required for measurements such as current, energy, power, and speed.

XLib.ML

This contains all commonly used patterns required for machine learning concepts such as predictions, classification, and visualizations.