DelphiMVCFramework

Build RESTful APIs in Delphi using MVC, Active Record, and JWT.

48|12|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/delphicleancode/delphi-spec-kit --skill delphimvcframework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: DelphiMVCFramework
Source: https://github.com/delphicleancode/delphi-spec-kit/tree/main/.gemini/skills/dmvc-framework
Command: npx skills add https://github.com/delphicleancode/delphi-spec-kit --skill delphimvcframework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delphi developers can rapidly scaffold and maintain scalable REST APIs using DelphiMVCFramework, with clear patterns for controllers, models, and middleware.

Core Features & Use Cases

  • MVC-based REST endpoints with attribute-driven routing
  • Active Record integration for data access and persistence
  • JWT authentication and Swagger/OpenAPI integration for documentation
  • Real-world guidance for project structure using DMVC

Quick Start

Create a new DelphiMVCFramework project, configure a WebModule, add controllers and models, and wire JWT and Swagger as shown.

Frequently Asked Questions about DelphiMVCFramework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a REST API in Delphi using an MVC pattern?

To build a REST API in Delphi, you can use DelphiMVCFramework to scaffold attribute-driven routing controllers and Active Record models within a WebModule. This enforces a structured project layout for scalable web services.

How do I secure REST API routes with JWT authentication in Delphi?

JWT authentication for Delphi REST APIs is integrated directly into DelphiMVCFramework as middleware. You wire JWT into your WebModule configuration to protect specific routes and secure web service endpoints.

How do I generate Swagger or OpenAPI documentation for a Delphi REST API?

Swagger and OpenAPI documentation is integrated natively into DelphiMVCFramework. You configure the Swagger middleware alongside your MVC controllers to automatically generate API docs for your Delphi web services.

Can I use Active Record for data persistence when building REST APIs in Delphi?

Yes, DelphiMVCFramework includes built-in Active Record integration for data access and persistence. You apply Active Record annotations to your model classes to handle database operations within your REST API.

Does DelphiMVCFramework support building microservices in Delphi?

DelphiMVCFramework is ideal for building microservices in Delphi. It provides a cohesive MVC pattern, middleware integration, and JWT-secured routes, allowing developers to rapidly scaffold and maintain scalable microservice endpoints.

What project structure do I need for a DelphiMVCFramework REST API?

A DelphiMVCFramework REST API requires a structured project layout using DMVC conventions. You organize your codebase by creating controllers, models, and middleware components wired through a central WebModule.