logo
Documents |

Understand Nilead Extension System

Table of Content

Understanding extensions


The extension is the base building block of our system to support dynamic content, understanding extension will allow you to do amazing things with Nilead platform.
extension - article - Nilead platform

Technical background

In the programming world, we make things easier for us (programmers) to understand by defining things as objects. These objects have properties and actions associated with them just like real-life objects (well, almost like real-life objects). For example, a Product you see in the store is an object with these basic properties and methods:

Properties

  1. Name

  2. Description

  3. Price

  4. Quantity

  5. Weight

  6. Height

Methods

  1. Purchaseable

  2. Deleteable

  3. Countable

Without these objects, the system has no way to know how to store data inside the system and how these data should interact with each other.

When we programmers develop a system, we usually create a fixed set of objects that we think our customers may need, well, we can never be more wrong. In the real world, each website is different with a unique set of requirements.

For example, let's say you want to create a website for your school alumni and you may need to create new objects such as Classes, Members, Galleries. Each Class should be associated with its Members and has its own private Galleries, now things get complicated.

Utilizing extension

In Nilead, you’ll create dynamic content using Extension. Extensions are groups of data with Fields and Relationships you (or your designer/developer) define. Extensions are created from core objects such as Products, Content, Persons, etc... (hence the name Extension). An Extension will inherit all the fields and relationships from its base object as well as its own defined fields and relationships. Once created, you can display this content however you’d like.

NOTE Extension is called extension because it is built on a core object. When you create a new extension, you have to choose the core object you want to build on. An extension built on 'Product' will have all core Product's properties and methods in addition to its own fields (properties). This allows the new extension to be treated as a normal 'Product' and can be purchased normally.

extension - new field - Nilead platform


As you can see, extensions can have both regular texts, numeric fields as well as reference fields that link to other extensions.

NOTE Extension is a very powerful feature but it requires in-depth knowledge. We generally hide this feature by default for the non-Super Admin accounts to avoid potential mishaps.

Add new extension

The extension is a great way to add dynamic content support to your website, please check our documentation to learn how to Add and Update Extension.

Share

DIscord chat

We're available Monday–Friday, security and critical bug fixes are available 24/7.

Facebook page

Get the latest news and updates regarding Nilead platform and services.