Bold for Delphi is a Model-Driven Architecture (MDA) framework and Object-Relational Mapping (ORM) tool for Delphi. It enables UML-based model development with OCL (Object Constraint Language) queries, automatic code generation, and sophisticated database persistence.
flowchart TB
subgraph UI["User Interface"]
VCL[VCL Controls]
Handles[Bold Handles]
end
subgraph ObjectSpace["Object Space"]
System[TBoldSystem]
Objects[TBoldObject instances]
OCL[OCL Evaluator]
end
subgraph Persistence["Persistence Layer"]
PMapper[Object-Relational Mapper]
DB[(Database)]
end
VCL --> Handles
Handles --> System
System --> Objects
System --> OCL
Objects --> PMapper
PMapper --> DB
// Get all customers with orders over $1000
var
Customers: TBoldObjectList;
begin
Customers := BoldSystem.EvaluateExpressionAsNewElement(
'Customer.allInstances->select(orders->exists(total > 1000))',
nil
) as TBoldObjectList;
end;
Current Version: 26.1.0 (community-maintained)
Supported Delphi Versions: 11.3, 12.1, 12.3, 13