Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

Mir-Framework

Mir is a Delphi HTTP backend framework that provides dependency injection, attribute-based routing, DTO binding and validation, middleware pipelines, typed configuration options and structured HTTP response handling for building backend services.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

BackendFramework Documentation

BackendFramework is a Delphi HTTP backend framework built around explicit dependency registration, attribute-based routing, DTO binding/validation, middleware pipelines, and typed application options.

Documentation sections

  1. Architecture overview
  2. Dependency container
  3. Options and configuration
  4. Logging
  5. Controllers and routing
  6. DTOs and validation
  7. Parameter binding
  8. Middlewares
  9. Custom attributes
  10. HTTP responses
  11. JSON configuration
  12. Project conventions

High-level request flow

mermaid
flowchart TD
    A[HTTP request] --> B[Router]
    B --> C[Route descriptor]
    C --> D[Request scope]
    D --> E[Middleware pipeline]
    E --> F[Endpoint attribute handlers]
    F --> G[Action invoker]
    G --> H[Controller action]
    H --> I[HTTP response]