Delphi Multithreading

Master parallelism and performance in Delphi with the definitive guide.

Portuguese Book Cover

Portuguese Edition

The complete guide for Brazilian developers.

English Edition Cover

English Edition

Mastering parallel programming patterns.

Open Source Projects

DEXT Framework

Delphi β€’ Web API β€’ ORM β€’ Architecture

Dext Framework - Modern Full-Stack Development for Delphi.

A fullstack framework inspired by ASP.NET Core and EF Core, bringing Clean Architecture, Domain-Driven Design, and high performance to the Delphi ecosystem.

  • βœ“ Fluent Mapping & API
  • βœ“ CQRS Ready
  • βœ“ Multi-Database Support
View on GitHub →
// GET /orders/pending
App.MapGet('/orders/pending', 
  function(Context: THttpContext; Repo: IOrderRepository): IResult
  begin
    // "Fetch orders where Status is 'Submitted' AND Total > 1000, 
    //  including Items, ordered by Date"
    var Spec := Specification.Where<TOrderEntity>(
                  (OrderEntity.Status = 'Submitted') and 
                  (OrderEntity.Total > 1000)
                )
                .Include('Items')
                .OrderBy(OrderEntity.CreatedAt.Desc);

    // The Repository only executes the specification. Clean.
    var Orders := Repo.List(Spec);
    
    Result := Results.Ok(Orders);
  end);

Latest Articles

View all →
Cesar Romero

About the Author

Cesar Romero is a Software Architect, Systems Engineer, and a veteran of the Delphi platform, with which he has worked passionately since 1996.

With a career spanning nearly 30 years, he has extensive experience leading teams and designing robust architectures for critical systems in Windows, Linux, Cloud, and Mobile environments.

As an Embarcadero MVP, he is an active voice in the community, frequently speaking at events in Brazil and abroad.