Back to Community feed

Business logic in no-code: what it is and how to build it

What data do you need to request? Does the entered data match the specified format? What happens after the user clicks the "Confirm" button? Does he even have access rights to this operation? All these and many other questions can be answered by examining how the business logic of a particular application is built.


The simplest example: an airline administrator (user) registers a passenger for a flight (enters information into the database).



What the user does:


1.Opens information about the selected flight, goes to the list of already registered passengers, clicks "Register passenger".


2.Fills in the registration form: enters the flight number, selects a passenger, indicates the place and status of check-in.


3.Presses the "Confirm" button


4.Sees a new passenger in the general list.



How it looks from the point of view of the application's business logic:


1.The application checks if the user is authorized and has access rights to the selected page, as well as registration operations.


2.Waits for the user to fill out the form.


3.Processes the entered data:


a. Checks if the entered data meets the requirements of the application (these requirements are predefined by the programmer): for example, the field "Flight number" must contain an integer.

b. Receives information from the database: for example, about a flight and related registrations (to make changes), a passenger (to check if this passenger is actually in the database).

c. Shows error messages if the fields are filled incorrectly.

d. Sends information to the database, giving commands to create new records in it or update existing ones.


4.Displays updated information on the screen.



The general logic of the application is being built by business processes - diagrams describing specific operations in the system: creating a passenger record, adding to the system new flight, editing registration information.


When it comes to classical programming, blocks of code are used to describe all processes. Many of them are written according to templates - they are simply used in a different sequence and to work with different data.


Because of this "template" nature in no-code development, it became possible to use visual programming tools - business logic designers. They help to select the necessary blocks, set up and arrange them in the desired sequence and even create some blocks automatically, depending on the settings of other components of the application. The bottom line is ready-made business logic without having to spend hours and hours over lines of code.


You can learn how to set up business logic on the Appmaster.io platform in the business process video.

AppMaster.io
Articles — No-code
ActiveCampaign
Sponsored
ActiveCampaign is a marketing and sales automation platform that helps growing businesses meaningfully connect and engage with their customers. Its SaaS platform enables businesses to create optimized customer experiences by automating many behind the scenes processes and communicating with their customers across channels with personalized messages.

Similar articles

5 reasons to turn to no-code development

Still in doubt whether to become a no-coder? Today we will name 5 reasons why it is worth doing no-code development.

Appmaster Platform

New videos on YouTube channel

Great news!

Appmaster Platform

How to Write a Proposal. Examples and Templates for Your Proposal

The success and continuous development of your business depend directly on the sales. How efficiently you sell products or services shows your preparation and commitment to every project. To get those projects funded and win the potential buyer, you should write a compelling project proposal. In this article, we discuss what the project proposal is, why you need project proposals, how to write proposals, and how to create good project proposal templates.

Appmaster Platform