Low-code programming core technical concepts

From a technical point of view, low-code programming is completely consistent with general-purpose programming.

To make good use of low-code programming tools, at least the following technical concepts must be mastered.

Low-code programming core technical concepts

1. Data structure

The data structure here refers to data tables and data fields in the general sense. Similar to the concept of tables and fields in the database, it is also similar to the concept of tables and fields in Excel.

The data structure of low-code programming is fully managed, and users can create arbitrary data tables and select various types of fields. In addition to the common field types of the database, low-code programming generally encapsulates additional field types, such as attachment fields, geographic location fields, user fields, etc.

2. Data association (similar to conceptual table association/foreign key)

The core value of a relational database lies in the relationship between multiple business tables, which reflects the connection between business objects. In comprehensive applications, the associations between tables are often multi-level and intricate.

Whether the code for multi-level cross-calling can be automatically generated according to the model has become a key indicator of low-code tools. It turns out that a large number of handwritten codes (especially SQL) are still traceable. Through code templates (SQL templates), most of the available codes can be generated.

3. Enumeration items

In a general sense, it is also called a drop-down item, and there are many changes in actual business. The front end can be displayed as a radio button, a multi-select box, and a cascading selection box. Such as city, position, status, process, etc.

The enumeration type of low-code programming also follows the principle of general coding. The defined enumeration items can be bound to different fields, so that different fields use the same enumeration item and the internal coding is consistent.

4. Users and roles

User refers to the person who uses the software or platform. It can be roughly divided into anonymous users, registered users, internal users, etc. A role is a collection of functions available to a user. In many cases, a user has multiple role permissions.

For example, common roles on e-commerce platforms include ordinary users/registered users/store users/customer service/backend factories/warehouses/administrators, etc. Common roles in enterprise internal management software include ordinary employees/department supervisors/sales managers/purchasing managers/finance /Administrative Personnel/Administrator etc.

Most permission control is done through roles. Low-code programming generally has a complete personnel role system built in, and different applications only need to be configured accordingly.

Five, configuration page (page)

The configuration page is a feature that distinguishes low-code programming from traditional programming.

Through a series of configurations such as page types, components, elements (fields), attributes, parameters, etc., functions available to end users are directly formed.

Commonly used are form page/list search page/details display page/general custom page/report page/process status/import/export/combination page, etc.

Take a common form page as an example. Configuring a comprehensive form requires a series of settings. Generally includes main table, sub-table, fields, data validation, basic style, page properties, operation buttons, interactive references, front-end events, back-end events, etc.

Front-end events can be used for additional interactions, such as executing when the page is loaded, executing when popping up to select data, executing after selecting data, executing automatic calculation, executing before submitting data, etc. Using common Javascript coding, you can implement personalized logic on the front end.

Back-end events, when receiving data in the background, execute additional business logic, which can be written with general-purpose coding techniques, refer to many existing packages, and be much faster in efficiency. Configuration pages are generally generated synchronously by multiple terminals, saving a lot of development time.

Configuration forms can complete very complex functions in a short period of time, and many complex ERP software are also implemented in this way. The addition of front-end and back-end events makes the page more flexible.

The configurable form can realize the form function of most of the software currently on the market.

The features of other function pages will not be introduced one by one, but can be obtained in the documentation on our official website.

Six, routing (route)

In the engineered front-end project, refers to the path of page navigation, replacing the original pure link method. Bind different routes on the menu to achieve the purpose of accessing different pages. Different pages, configured with different routes, can have different presentation forms.

Low-code programming realizes complete front-end and back-end customization functions by rewriting routes.

7. Functions and events

It is mainly divided into two categories: global events and page events. Modify the default business logic by deriving and overloading. Many events are empty, reserved for personalized business logic.

At present, there is a relatively popular service serverless in the cloud market, which is to provide back-end functions by writing functions. The back-end events of low-code programming are consistent with this concept, and the back-end events of low-code programming are basically equivalent to serverless servers.

Low-code programming has a more complete context reference, making function and event cross-reference more flexible. At the same time, low-code provides a large amount of encapsulation, and the amount of code is much smaller than that of general-purpose programming.

8. Menu

Low-code programming allows full customization of multi-level menus. Menus are bound by routing to access different functional pages of the system. The menu can be flexibly authorized, and based on different roles, the displayed menu may be completely different.

9. Authority system

权限体系包含各种授权设置,绝大多数情况,可以配置化完成。为了灵活起见,保留了代码设置权限的能力。

主要包含 模块权限/菜单权限/页面权限/字段权限/数据行权限/路由权限/流程权限等。 这里限于篇幅,暂时不展开讲各种权限。

低代码编程,追求的是大量代码重用,避免重复造轮子,使用低代码编程,可以大大加快软件项目的进度。 特别是1-3年经验的软件技术人员, 当前阶段还不能自行地构建完整应用,

可以利用低代码编程的优势,快速搞定项目。 很多时候内置的应用稍作修改,就是一个完整的项目。

Guess you like

Origin blog.csdn.net/qq_35713752/article/details/128814934