A feature-based model for software development

A feature-based model for software development

It is the holy grail of software development: The Feature-Oriented Programming.

In principle, every university professor imagines the ideal FOP approach as being able to create software with a simple editor by simply combining a few features together. The professor then tells this vision to their students, letting the next generation of software developers ponder how they can improve the world.

The underlying mechanism is also known: there must be some model to describe software - and then a compiler, which generates the software from the model.

The only difficulty is finding a suitable model with which one can easily can describe. To illustrate this, here are a few properties that this model must fulfill:

Here are a few existing programming models that repeatedly fail with larger software:

So, what makes a good FOP model?

What actually makes a good FOP model is already in the name: "Feature-Oriented Programming" - there must be the possibility to describe and reuse complete Features in the software.

In contrast to "classes" in object-oriented programming, features should not only fit a specific data structure (i.e., class), but be able to adapt to any data structure for which the feature makes sense.

An Example: The feature "revision-proof data storage" is intended to ensure that documents can no longer be deleted, but all changes can be retrieved traceably. In object-oriented software, you have to improvise a lot here and program with a lot of manual work. In FOP software, you develop your base component and then add the "Revision-proof" feature to it.

We at Launix have such a FOP programming language developed, built the compiler for it and design ERP systems, but also customer portals and other database-intensive tools for everyone.

Our language is based on a description logic, which can be extended at any time with new terms - so-called Features - . A software is then created by combining the features together. A feature can represent anything from a "New input field in a form" to "A complete invoicing program" that can be integrated into your software.

In addition to textual programming, there is the editor, which provides a graphical view (UML component diagram) of your software. Every change to the diagram immediately manipulates the source code, meaning that graphical and textual programmers can work together in a team.

More information about this can be found, for example, in the post about the FOP Seal or via the FOP FAQ.

Категории