Book cover: FireDAC in Practice
Delphi & Databases

Connecting is the beginning. Operating safely is the real work.

FireDAC in Practice

From the first database connection to advanced techniques with Delphi

Move beyond the first connection and build a predictable, secure data-access layer ready for production.

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.

FireDAC in Practice follows the development of a data-access layer from the first connection to the decisions that sustain a production application. Rather than presenting isolated components, it shows how queries, parameters, types, transactions, and updates relate to consistency, performance, and user experience.

Across six parts, readers progress through in-memory data, Cached Updates, Local SQL, batch processing, concurrency, pooling, diagnostics, recovery, and deployment. Delphi examples with different relational databases reveal the distance between code that merely works in a laboratory and a solution capable of remaining dependable under load, failure, and continuous change.

The challenge

Does this situation sound familiar?

Making a query work is only the first step. In production, connections, transactions, concurrency, performance, failures, and database differences turn apparently simple decisions into risks for the entire system.

The book’s approach

A path from intention to practice.

Explore FireDAC progressively, from architecture and driver configuration to queries, transactions, in-memory data, concurrency, security, recovery, and deployment.

“The value of a data-access library appears both in what it delivers and in how the system recovers.”
By the end of the book, you will be able to:
Understand FireDAC architecture, drivers, and configuration
Write parameterized queries and handle data types correctly
Control transactions, master-detail relationships, and updates
Use in-memory data, caching, and Local SQL with clear criteria
Measure performance and handle concurrency and asynchronous execution
Prepare security, recovery, and deployment for production
Questions that guide the reading

Answers begin with the right questions.

Questions explored through context, criteria, and examples.

01

How should FireDAC be configured beyond the first successful connection?

02

How do parameters, types, transactions, and updates affect correctness?

03

When do caching and in-memory processing help—or create risk?

04

How can a data layer be prepared for concurrency, failure, and deployment?

Inside the book

A structured journey that helps you move forward.

Concepts and applications presented in a coherent sequence.

01

Foundations and the first connection

Understand the architecture, drivers, connections, and configuration behind the first successful access.

02

Queries and commands

Build parameterized queries and commands while respecting types, errors, and database behavior.

03

Transactions and relationships

Coordinate transactions, master-detail relationships, and updates without losing consistency.

04

In-memory data and updates

Use FireDAC memory, cached updates, and Local SQL where they add measurable value.

05

Performance and concurrency

Evaluate concurrency, pooling, asynchronous work, and bottlenecks with evidence.

06

Security, recovery, and deployment

Protect credentials and data, recover from failure, and prepare dependable deployment.

Content in preparation

Planned book structure

Explore the 6 parts and 21 planned chapters. Titles may be refined during editorial review.

View chapters21 chapters

Part I — First steps and architecture

  1. The first database connection
  2. How FireDAC works
  3. Connections, drivers, and definitions
  4. A reproducible and secure project

Part II — Queries, data, and editing

  1. Queries and commands with TFDQuery and TFDCommand
  2. Parameters, macros, preprocessing, and types
  3. Navigation, search, filters, and local indexes
  4. Editing, virtual fields, and update rules
  5. Fetch, resources, and user experience

Part III — Consistency and advanced operations

  1. Transactions without surprises
  2. Master-detail and coordinated updates
  3. Stored procedures, functions, and DBMS services
  4. Array DML, Batch Move, and bulk loading

Part IV — In-memory data and disconnected work

  1. TFDMemTable in depth
  2. Persistence, formats, and interchange
  3. Cached Updates and reconciliation
  4. Local SQL and source composition

Part V — Performance, responsiveness, and concurrency

  1. Measuring, diagnosing, and optimizing
  2. Asynchronous execution, threads, and pooling
  3. Metadata, events, and automation

Part VI — Production and professional architecture

  1. FireDAC in a professional application
What makes this book different

Depth to understand. Clarity to keep moving forward.

01

A progressive path from fundamentals to production concerns

02

Practical Delphi scenarios rather than isolated component descriptions

03

Performance, failure recovery, and security treated as design concerns

04

Criteria that apply across Firebird, PostgreSQL, SQLite, and MySQL

Who this book is for

Knowledge that becomes action.

Delphi developers who want to master FireDAC in real applications will find a direct approach connected to concrete problems.

✓ Delphi developers beginning with FireDAC✓ Professionals maintaining database-oriented applications✓ Delphi architects and technical leaders✓ Teams working with different database systems
Before you begin

What you need to benefit from the book

Basic familiarity with Delphi and relational databases is helpful

The progression begins with the first connection and advances toward production scenarios

An informed choice

This may not be the right book if…

Readers looking only for a short component reference

Readers expecting one configuration to fit every database and workload

Why this author, on this subject

Experience that gives the reading context.

Drawing on more than 20 years of Delphi and database development, Régys connects FireDAC components to the operational decisions that keep real systems reliable.

Upcoming release

Receive resources and updates about FireDAC in Practice.

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

Upcoming release

FireDAC in Practice is coming soon.

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