Book cover: ERP Engineering with Delphi
Delphi & ERP Engineering

An ERP is not a large CRUD application.

ERP Engineering with Delphi

Architecture for business systems that need to grow and last

Build and evolve Delphi ERPs without losing consistency, traceability, or recoverability.

Notify me when it is available

This book is currently available in Brazilian Portuguese.

EditionIn preparation2026Book languagePortugueseBrazilFormatsComing soonComing soon
About the book

A complete view of the book.

ERP Engineering with Delphi treats business software as a network of rules, movements, history, and responsibilities—not as a collection of screens and CRUD operations. Using the Atlas ERP as a practical laboratory, it explains how to organize domains and modules while keeping the system understandable and recoverable.

Across five parts, the book connects FireDAC persistence, transactions, concurrency, idempotency, inventory, finance, taxation, integrations, security, observability, migrations, tests, and resilience. Each pattern appears in response to a concrete pressure, making its benefits, costs, limits, and alternatives visible.

The challenge

Does this situation sound familiar?

When rules spread across forms, queries, and events, an apparently simple change can affect sales, inventory, finance, taxation, and auditing. The challenge is no longer creating screens; it is preserving the meaning of each operation.

The book’s approach

A path from intention to practice.

Learn to think in domains, invariants, movements, history, and processes; begin with a modular monolith and adopt distribution, asynchrony, and new patterns only when concrete pressure justifies their cost.

“Suitable architecture grows from problems and their trade-offs, not from adopting patterns in advance.”
By the end of the book, you will be able to:
Define modules and responsibilities without circular dependencies
Preserve rules, invariants, movements, and history
Control transactions, concurrency, and retries with idempotency
Design inventory, finance, and taxation as connected domains
Integrate services, jobs, and events with security and observability
Evolve databases, tests, and architecture proportionally and resiliently
Questions that guide the reading

Answers begin with the right questions.

Questions explored through context, criteria, and examples.

01

Why does an ERP require more than screens, tables, and CRUD operations?

02

How can consistency be preserved when a sale crosses several domains?

03

When do queues, events, or services justify the cost of distribution?

04

How can database and architecture evolve without losing traceability and recovery?

Inside the book

A structured journey that helps you move forward.

Concepts and applications presented in a coherent sequence.

01

ERP mindset and architecture

Move beyond the idea of an enlarged CRUD and define domains, modules, and boundaries from actual product pressures.

02

Consistency and persistence

Use FireDAC, units of work, rules, history, transactions, and isolation to protect system invariants.

03

Business domains

Apply the principles to inventory, finance, taxation, queries, and reports without dissolving responsibilities.

04

Integrations and processing

Model external dependencies, events, queues, jobs, and asynchronous processing with explicit guarantees.

05

Security and operations

Protect authorization and auditing, build observability, and preserve explanations after failures and retries.

06

Evolution and resilience

Guide migrations, tests, resilience, and architectural growth without adopting complexity before it is needed.

Content in preparation

Planned book structure

Explore the 5 parts and 17 planned chapters. Titles may be refined during editorial review.

View chapters17 chapters

Part I — Thinking like an ERP engineer

  1. An ERP is not a large CRUD application
  2. Architecture for systems that need to last
  3. Domains, modules, and boundaries

Part II — The core of consistency

  1. Persistence without illusion: FireDAC and responsibility boundaries
  2. Rules and invariants: where business meaning lives
  3. State, movements, history, and time
  4. Transactions, concurrency, and idempotency
  5. Multiple companies, branches, and configuration

Part III — Business domains

  1. Inventory
  2. Finance
  3. Taxation
  4. Queries, reports, and performance

Part IV — The connected ERP

  1. Integrations
  2. Events, queues, and jobs
  3. Security, authorization, auditing, and observability

Part V — Building to last

  1. Database, migrations, and distributed evolution
  2. Resilience, testability, and evolution
What makes this book different

Depth to understand. Clarity to keep moving forward.

01

Atlas ERP as a conceptual, compilable, and tested laboratory

02

Real problems presented before the patterns that may solve them

03

A modular monolith as a sustainable starting point

04

Trade-offs, limits, and alternatives accompanying each architectural decision

Who this book is for

Knowledge that becomes action.

Delphi developers, software-house professionals, and technical leaders responsible for business systems will find a direct approach connected to concrete problems.

✓ Software-house professionals building Delphi ERPs✓ Independent developers professionalizing business systems✓ Maintainers of products with growing rules and integrations✓ Architects, technical leaders, and development managers
Before you begin

What you need to benefit from the book

Intermediate Delphi and Object Pascal

Object orientation, SQL, and relational database fundamentals

An informed choice

This may not be the right book if…

Readers seeking an introductory Delphi or CRUD course

Readers expecting a ready-made commercial ERP or a universal architecture

Why this author, on this subject

Experience that gives the reading context.

With more than 20 years building corporate, fiscal, and retail automation systems in Delphi, Régys presents ERP engineering through the operations, failures, and decisions that shape everyday software-house work.

Upcoming release

Receive resources and updates about ERP Engineering with Delphi.

Sign up for content, samples, and new resources related to the book.

Upcoming release

ERP Engineering with Delphi is coming soon.

Os links oficiais serão publicados assim que as edições estiverem disponíveis.