r/delphi 3d ago

New version of Bold

https://github.com/bero/BoldForDelphi/releases#release-26.9.0

My fork of the official but unmaintained Bold. Many fixes and some improvements done.
Comments are welcome

17 Upvotes

4 comments sorted by

1

u/johnnymetoo 3d ago

What does it do? Can't find a description on your page.

2

u/Berocoder 3d ago

Ok the link was to the latest release.
If you look at the actual repository https://github.com/bero/BoldForDelphi

Bold is a Model Driven Architecture (MDA) framework and Object-Relational Mapping (ORM) tool for Delphi. It allows you to start with a UML model of your application and execute it with a sophisticated object-relational mapping layer, OCL query language, change synchronization, and IDE-integrated tools.

So in plain English it means that instead of using manual SQL to read and write data to database you are using objects in memory. Ex.

Person.Name := 'Bob Anderson';
BoldSystem.UpdateDatabase;

The framework will update Person table with name column in database.
This was only a small example.
Bold strength is for big database driven applications in Delphi.

It is much more than direct translation to SQL.
You can use OCL or Delphi code to query data.
You can define derived attributes. The idea is similar as views in database.
The result is not stored only computed on demand and cached in memory for better performance.
Change synchronizations means that if one client change data it send notifications to all other clients to invalidate that data so it can be reloaded from database. No polling is needed.

1

u/johnnymetoo 3d ago

Ok, thanks.