GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BoldForDelphi/docs/concepts/index.md at develop · bero/BoldForDelphi

Expand file tree

/

index.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
66 lines (55 loc) · 2.7 KB
/

index.md

Copy path

File metadata and controls

66 lines (55 loc) · 2.7 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Core Concepts

Bold for Delphi turns a UML model into a running application. These pages explain the parts it is built from. They apply to Delphi and to Lazarus / Free Pascal alike unless a page says otherwise.

Concept Map

flowchart TB
    subgraph Model["Domain Model"]
        UML[UML Classes]
        CodeGen[Code Generator]
        BusinessClasses[BusinessClasses.pas]
    end

    subgraph Runtime["Runtime"]
        ObjectSpace[Object Space]
        OCL[OCL Queries]
        Derived[Derived Attributes]
        Subscriptions[Subscription System]
        Logging[Logging System]
    end

    subgraph Data["Data Layer"]
        Persistence[Persistence Layer]
        DB[(Database)]
    end

    UML --> CodeGen
    CodeGen --> BusinessClasses
    BusinessClasses --> ObjectSpace
    ObjectSpace --> OCL
    ObjectSpace --> Subscriptions
    OCL --> Derived
    Subscriptions --> Derived
    ObjectSpace --> Persistence
    Persistence --> DB

    click ObjectSpace href "object-space/" "Object Space documentation"
    click OCL href "ocl/" "OCL documentation"
    click Derived href "derived-attributes/" "Derived Attributes documentation"
    click Subscriptions href "subscriptions/" "Subscriptions documentation"
    click Logging href "logging/" "Logging documentation"
    click Persistence href "persistence/" "Persistence documentation"
    click DB href "persistence/" "Database persistence documentation"
Loading

Key Concepts

Concept Description Learn More
Object space The in-memory graph of domain objects, managed by TBoldSystem Object Space
OCL The query language for navigating and filtering objects OCL Queries
Derived attributes Members whose value Bold computes from other values, in OCL or in code Derived Attributes
Persistence Object-relational mapping to a SQL database, or storage in an XML file Persistence
Subscriptions The observer mechanism that keeps derived values and the UI current Subscriptions
Logging A simple file log, a log with levels and sinks, and a progress log Logging

The Bold Workflow

  1. Model: create the UML model with classes, attributes and associations, in the model editor of the Delphi IDE or in the standalone model editor (Tools/ModelEditor).
  2. Generate: Bold generates the Object Pascal business classes from the model.
  3. Develop: write the business logic in the generated classes.
  4. Run: objects live in the object space and are saved to the database.
  5. React: subscriptions recompute derived values and update the Bold-aware UI.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.