
Feature-oriented programming as a form of model-driven software development
The terms "Low Code" and "NoCode" are on everyone's lips - they are talked about as THE innovation in the programming world. These two approaches belong to the overarching category of so-called model-driven software development. But what is that actually?
A model is a representation of reality
A model is a representation of reality - at least, that is the mnemonic one had to learn in physics class to define a "model". Models exist everywhere: weather models simulate the weather on a computer to predict a weather report; physical models such as the atomic model explain the workings of our cosmos in a clear way; architectural models are miniature versions of a house or an entire area, for example, to get building permits approved.
Of modeling is spoken of when, during design, the real object is not worked on directly, but instead a representation (e.g., a 3D computer model or a clay shape of a luxury car body) is designed first with much less effort, which can then later be translated into its real counterpart.
And that is exactly what is done in Software Modeling.
Pioneers: Structure Diagrams, ER Diagrams, UML

In computer science, modeling tools were established and standardized very early on: ER diagrams describe diagrams, structure diagrams describe algorithms.
The OMG subsequently began to specify the UML standard. In the UML standard, you can model all possible scenarios:
- Class diagrams model data schemas, attributes, and methods
- Sequence diagrams model communication scenarios between actors, e.g., between client and server
- State diagrams describe the behavior of state-driven automata
- Package diagrams model the high-level structure of software
- uvm
Modeling and Programming
It quickly turned out that the preceding modeling is actually the basis for implementation. In the early days of computer science, people modeled first and then programmed the model. Gradually, more and more tools were added that could generate code and code skeletons from the models. This allows you to, based on a UML class diagram, have the JAVA classes with empty methods created in the Eclipse IDE.
But these simple code generators are unfortunately a one-way street: code is generated from the model, but the code cannot be converted back into the model, meaning: if you change something in the code that was not modeled that way, you have to update the model manually.
A cleaner approach is offered here by No-Code and Low-Code tools:
Model as Single Point of Truth
A much more promising approach in model-driven software development is to simply define the Model as Single Point of Truth.
In the Low-Code-movement, this means: instead of converting the UML class diagram into code, the UML diagram is kept permanently in the graphical editor, and a code editor only opens when you double-click on a method. However, Low-Code tools do not only work at the UML level; they also allow, for example, the design of user interfaces or the assembly of flowcharts and workflows.
Even more exciting here are the No-Code-tools, because with them, the complete functionalitylet the application to be programmed be modeled. But what does "model" mean in the case of software development?
model as data in a data schema
To properly understand No-Code, I will demystify the term "model" here using the programming language Java.
Because a Java bytecode file is nothing other than a model to describe software. Here is the structure of a Java program:
- A Java program consists of several classes
- Each class has a class name, as well as a classpath
- A class can have several attributes. Each attribute has a name, a visibility (public|private|protected), as well as a data type
- A data type must, in turn, be a class
- A class has several methods with method names, visibility, as well as a return data type
- A method has a list of parameters with parameter name and data type
- A method has a list of instructions
- and so on...

As you can see: You can again draw the structure of a Java program yourself as a UML class diagram. This allows for the creation of any application that can be imagined.
But the Java model has one major disadvantage: It is consistently Low-Levelig. What does that mean? To create complex programs, you have to many classes, many attributes and many methods. The methods, in turn, consist of many lines of code.
If you want to implement a more complex feature now, such as Logging when building into software, you start changing hundreds of lines in Zig files. The underlying software model is therefore powerful, but not pleasant to program.
Workflows: A popular No-Code model
A popular No-Code model is the Workflow. In the workflow model, you model the individual forms where the user can be located, as well as which record the form fields are linked to, and where the individual buttons (e.g., Save or Next) lead next.
The "data schema" of the workflow model therefore looks roughly like this:
- There is a list of forms
- Each form has form elements with (x, y, label, type, field_link)
- Each form has buttons with (x, y, label, NextWorkflow)
But the dilemma that many no-code tools face: To be user-friendly, the model must be simple. However, a simple model is not powerful enough to implement everything.
FOP as a solution for model-driven software development
FOP is a so-called feature-oriented programming language. This means you can features in libraries define - and thus goes one level of abstraction further than other programming languages like PHP, Java, C++, or Python, which can only maintain program flowcharts in procedures.
A feature, in contrast to the low-level elements of the Java programming language described above, can be either high-level or low-level. This allows for much faster programming.
Example: A feature for a software can be the "login procedure". In FOP, this feature is simply programmed with the following line of code:
Login<"users", "username", "password">.
Features are therefore only activated with a few parameters activated.
The standard library of FOP contains numerous feature definitions of various models:
Imperative / Object-oriented programming model:
- Classes
- Methods
- Attributes
- Namespaces and Use clauses
Source code or executables can be generated directly from the Imperative Program Model
Form Model:
- Forms
- Input fields
- Buttons
The Form Model is implemented in FOP libraries in such a way that it is broken down into the Object-Oriented Model.
Table Model (data schema description for databases)
- Tables
- Their columns
- Data types
- Labels
The Table Model is implemented in FOP libraries in such a way that it is broken down into the Form Model. This means all CRUD functions for a table are provided for free.
Module Model (complete software features)
- Invoicing
- Personnel Time Tracking
- Production Planning
- Document Management System
The Module Model is implemented in FOP libraries in such a way that it is broken down into the Table Model. This allows complete large-scale projects to be implemented with just a few lines of code.
All these models can be edited both textually and graphically in the FOP programming language. The possibility of high-level features such as modules results in significantly faster work. The compiler then translates the high-level code back into "normal" source code so that the code can be executed, for example, by PHP.
Conclusion
Model-driven software development helps developers reach solutions faster and make fewer programming errors. Especially in graphical development, programming errors are also recognized much faster. Better programming models enable more convenient application development because you don't have to reinvent the wheel every time.
Modular construction systems make even large projects manageable. With the right tool, even large ERP projects can be implemented by a small team with relatively manageable effort - and small teams are known to communicate more effectively.
The catch here, however, lies in the power of the tool used. The FOP programming language enables the free programmability of completely new models in libraries, which sets it apart from all other No-/Low-Code tools.