-
Notifications
You must be signed in to change notification settings - Fork 57
Important concepts
Bold is a Object Relation Mapping (ORM) framework with the goal to raise abstraction level for developers with shorter time to a executable application. Focused on business applications connected to a database. It use Model Driven Development (MDD). This means a model is the starting point and should contain the business rules.
- Hide database from application.
- Read and write data as objects.
- Use Object Constraint Language (OCL) to fetch data.
- Use derived members to divide a complex task in smaller pieces in a CPU efficient way.
Model This is a bld-file. There is a builtin editor for this. It doesn't show visual UML diagrams.
Class When persistant it is mapped to table in database. Can also be transient only in memory.
Boldobject An instance of a class. This is mapped to a row in database. If inheritance is used several rows might be used from several tables.
Attribute A simple datatype in class string, integer, float or Datetime.
Singlelink A one to one relation between two classes.
Multilink Either many to one or many to many relation between two classes.
Member Abstraction of attribute, singlelink and multilink. So boldobject have a list of members.
Derived member When a member is derived the value is calculated and result is only i memory. This can be done either in OCL or Delphi code.
Boldid All boldobjects have a boldid. This is a unique integer to identify the boldobject in memory and database.