DelphiMVCFramework - The Official Guide
Published by LeanPub in 2020
Professional RESTful and JSON-RPC API Development
The comprehensive guide to DelphiMVCFramework, the most popular open-source Delphi project on GitHub for web API development. This book takes you from fundamentals to professional production deployment, covering everything you need to build enterprise-grade RESTful and JSON-RPC APIs.
Why This Book
DelphiMVCFramework has become the de facto standard for building web APIs in Delphi, trusted by enterprises worldwide for mission-critical applications. This official guide, written by the framework’s creator, provides:
- Complete coverage from basics to advanced enterprise patterns
- Real-world examples from production systems
- Best practices learned from years of framework development
- Step-by-step tutorials for common scenarios
- Production deployment strategies and optimization techniques
What You’ll Learn
Foundation & Core Concepts
- MVC pattern implementation in Delphi
- Routing and HTTP method handling
- Request/response lifecycle
- Middleware and filters
- Dependency injection
RESTful API Development
- Resource-oriented architecture
- CRUD operations and data handling
- Content negotiation (JSON, XML, HTML)
- HTTP status codes and error handling
- API versioning strategies
JSON-RPC Services
- JSON-RPC 2.0 specification
- Method registration and dispatching
- Batch requests and notifications
- Error handling and custom errors
Advanced Features
- Authentication (Basic, JWT, custom)
- Authorization and role-based access
- Swagger/OpenAPI documentation generation
- Server-Sent Events (SSE)
- WebSocket support
- Database integration with FireDAC
- MVCActiveRecord ORM
Production Deployment
- Performance optimization
- Caching strategies
- Logging and monitoring
- Security best practices
- Docker deployment
- Linux server deployment
Complete Real-World Projects
The book includes multiple complete projects you can use as templates:
- RESTful CRUD API - Complete customer management system
- JSON-RPC Service - Calculator and notification service
- Authentication System - JWT-based authentication
- File Upload API - Multi-part file handling
- Real-time Updates - Server-Sent Events implementation
Available Editions & Translations
This book is available in multiple formats and languages to serve the global Delphi community:
🇬🇧 English Edition
The original edition, continuously updated with the latest framework features.
Buy English Edition:
- E-book on Leanpub - PDF, EPUB, MOBI with free updates
- Hardcover on Lulu - Professional print edition
🇧🇷 Edição em Português (Brazilian Portuguese)
Tradução completa para desenvolvedores de língua portuguesa.
Comprar Edição em Português:
🇪🇸 Edición en Español (Spanish)
Traducción completa para desarrolladores de habla hispana.
Comprar Edición en Español:
Table of Contents
- Introduction to DelphiMVCFramework
- Getting Started - First project, project structure, conventions
- Routing and Controllers - URL mapping, parameters, HTTP methods
- Views and Rendering - Templates, content types, serialization
- Data Handling - JSON, XML, datasets, custom formats
- RESTful Services - Resource design, CRUD, best practices
- JSON-RPC Services - Protocol implementation, method registration
- Authentication - Basic, JWT, custom authentication
- Authorization - Role-based access, custom authorization
- Middleware and Filters - Request/response pipeline
- Database Integration - FireDAC, MVCActiveRecord ORM
- Advanced Features - SSE, WebSocket, file uploads
- API Documentation - Swagger/OpenAPI generation
- Testing - Unit tests, integration tests
- Deployment - Windows, Linux, Docker
- Performance - Optimization, caching, profiling
Source Code
All examples and complete projects are available in the book’s GitHub repository, continuously updated to work with the latest framework version.
Target Audience
This book is for:
- Delphi developers wanting to learn modern web API development
- Backend developers transitioning to Delphi
- Enterprise developers building scalable REST services
- Anyone interested in professional API development with Delphi
Basic Delphi/Object Pascal knowledge is assumed. Web development experience is helpful but not required.
About DelphiMVCFramework
DelphiMVCFramework is the most popular Delphi framework for building RESTful and JSON-RPC APIs. With over 1,000 stars on GitHub and used in production by companies worldwide, it provides:
- Battle-tested since 2010 in high-traffic production systems
- Active development with regular updates and new features
- Comprehensive documentation and 100+ samples
- Vibrant community with 6000+ members on Facebook group
- Professional support available through Patreon
Reviews
“The definitive guide to building professional APIs with Delphi. Whether you’re building internal services or public APIs, this book covers everything you need.”
“Finally, a comprehensive resource for DelphiMVCFramework. The real-world projects alone are worth the price.”
“As someone who moved from Node.js to Delphi, this book made the transition smooth. The framework is powerful and the book explains it perfectly.”
Updates & Support
LeanPub editions include free updates - when the book is updated, you get the new version free. The book is regularly updated to cover new framework features and incorporate reader feedback.
For framework support:
- Facebook Group - Free community support
- GitHub Issues - Bug reports and features
- Patreon - Premium support and exclusive content
About the Author
Daniele Teti is the creator and lead developer of DelphiMVCFramework. With over 25 years of professional software development experience, he has built enterprise systems for banking, healthcare, and industrial automation. He is a frequent speaker at international developer conferences and author of the best-selling Delphi Cookbook series.
Comments
comments powered by Disqus