
Building a corporate database using the modern FOP approach
1. Why a corporate database?
A central database offers:
- Centralized data storage: All information – from customers and invoices to service assignments – is in one place.
- Analysis options: Ideal for controlling, KPIs, forecasting, etc.
- Real-time access for everyone: Employees, technicians, or field service staff always work with up-to-date data.
- Scalability: The database grows along with the company.
- Targeted Functionality: Only required modules are available – errors caused by incorrect operation are reduced.
2. When is it worth it?
An individual database project can quickly cost five figures – but it pays off if:
- many employees benefit,
- data workflows are inefficient,
- multiple locations or branches exist,
- data is copied multiple times between systems.
3. Development Steps
The classic process can be significantly modularized by FOP:
- Consulting & Data Model
Together with consultants, you define the ER data model (entities and relationships), from which the database schema is created. - SQL Implementation, Indexes & Constraints
Tables, indexes, and rules (e.g., delete prohibitions) are automatically generated from the schema. - API Definition & Permission Model
A precise API for CRUD operations is created based on defined user rights. - User Interface (Front-End)
Master and detail views, form masks, filters, reports, and, if applicable, external API interfaces are implemented.
4. FOP: Feature-Oriented Programming – the turbo for database software
Launix uses FOP to increase efficiency and modularity:
- Features instead of monolithic modules:
Small to large functions (login, audit-proof storage, invoicing module) are available as individual, reusable features. - Generative, model-driven programming:
Clean, low-error code – PHP, SQL, etc. – is generated fully automatically from abstract models. - High Customizability:
Features can be combined, extended, or overridden – tailored to team or corporate requirements. - Graphically and textually editable:
Changes can be made via a UML-like editor or directly in the model code – ideal for different user profiles. - Fine-grained Modularity:
Unlike coarse ERP modules, FOP allows granularly activatable functions – e.g., simple or multi-stage invoices, audit-proof filing, customer-specific workflows.
5. Advantages of the FOP-based database structure
- Faster development through reusable features
- Higher quality: fewer bugs and consistent design
- Full control: own source code in FOP and generated code is delivered
- GDPR workflow and GoBD compliance: automatic documentation, access rights, and audit security
- Cheaper than classic custom software – with the same flexibility
Example workflow in FOP
| Step | FOP model | Result |
|---|---|---|
| Login | Feature Login<"users","username","password"> | Authentication easily integrated |
| Invoicing module | Feature Rechnungsstellung | Fully functional with minimal model code |
| Audit security | Feature Revisionssicher | Logging of all data changes with one click |
| Database & Forms | Table/Form Models | CRUD functionality automatically generated |
| GUI | via FOP editor or model code | Instant visual comparison and customizability |
Conclusion
By combining classic database structure with Feature-Oriented Programming, a software solution is created that is centralized, scalable, flexible, and efficient. With FOP, databases and enterprise software can be individually designed, quickly adapted, and legal requirements can be easily integrated.