Architecture & Multi-site
Pragma CMS is engineered to address the critical challenges of 2026: security through strong isolation and bottleneck-free scalability. Unlike traditional systems, Pragma utilizes an Isolated Multi-Tenant model.
The Shared Database Model (Legacy Approach)
Most CMS platforms (WordPress, Craft CMS) group data from multiple sites into a single database, using a siteId column to differentiate content. While this simplifies cross-site content sharing, it introduces significant technical debt:
- Security Cross-talk: A single SQL injection or a flaw in a third-party plugin can expose the data of every project in the cluster.
- Resource Contention: A traffic spike on Site A inevitably slows down the database for Sites B and C. Performance is not predictable.
- Zero Portability: Extracting a specific site to move it to another server is a complex engineering task.
The Pragma Model: Strong Isolation
The Pragma Vision
We believe every project deserves its own security boundary. Each site created in Pragma is a hermetic environment with its own dedicated resources.
Key Engineering Advantages
- Maximum Security: Each site has its own database. An incident on one site cannot affect others. They are physically and logically separated.
- Predictable Performance: SQL resources are dedicated. You can optimize or migrate a high-traffic client's database to a dedicated server without impacting the rest of the infrastructure.
- "No-Prison" Portability: If a client wants autonomy, you simply export the /sites/site-name folder and its SQL dump. The site is ready to run anywhere.
- Lean Core Path: The CMS core doesn't need to filter every query by a siteId. The code path is shorter, faster to execute, and significantly easier to maintain.
Architectural Trade-offs
While the shared model is optimized for high-frequency content sharing, Pragma CMS is the ultimate tool for Agencies and SaaS Providers who prioritize reliability and isolation.
| Feature | Shared Model (Legacy) | Isolated Model (Pragma) |
| Security | Risk of cascade failure | Total isolation |
| Scalability | Limited by central DB | Horizontal (distributed DBs) |
| Maintenance | Unified but risky | Distributed and safe |
| Portability | High complexity | Native / zero friction |
Pragma’s architecture ensures peace of mind: your sites are independent vaults, managed by a single, high-performance control platform.
Navigation & Interface Map
Admin Platform (Global Control)
This is where you manage the infrastructure.
- Dashboard: Global overview of your site cluster.
- Sites: Provisioning and management of individual projects.
- Updates: Centralized core and extension updates.
- System Health: Monitoring of server resources and database status.
- Settings: Global configuration and billing.
- Account: Update your personal developer profile, security credentials, and interface preferences.
Site Administration (Local Control)
This is where you manage the data and logic of a specific project.
- Content:
- Collections: Sequential data (Articles, Recipes).
- Structures: Hierarchical data (Documentation, Product categories).
- Singles: Unique data sets (Homepage, Contact info).
- Submissions: User-generated data handling.
- Site Structure:
- Pages: Comprehensive engine to create static, block-based, or dynamic pages. Manages URLs, template assignments, and multilingual content.
- Menus: Navigation builder.
- Taxonomies: Data classification.
- Forms : Form Builder.
- Assets:
- Media: Centralized file management.
- Architecture
- Content Types: Define data schemas, custom fields, and entry behaviors.
- Routes: Orchestrate dynamic and static URL mapping and controller assignments.
- Languages: Configure localization, active locales, and translation management.
- Redirections: Manage URL aliases and permanent redirects (301/302) to preserve SEO integrity.
- Database: See how your database looks like, their relations and records. Create database backups.
- System
- Users: Manage administrative accounts and team profiles.
- Roles: Define and group access levels for different administrative responsibilities.
- Permissions: Centralized list of all system access rights and CRUD operations for audit and security reference.
- General Settings: Global parameters for site identity, regional defaults, and SMTP email configuration.
- SEO: Technical SEO suite featuring real-time Google and Social Media previews, robots.txt management, and global header/body script injection.
- Statistics: Centralized dashboard for professional monitoring tools, including Google Search Console, Analytics, and Hotjar.
- System Health: Diagnostic tool focused on email deliverability, SMTP connectivity, and DNS security records (SPF/DMARC) verification.
- Maintenance: Diagnostic tools, cache purging, and system log analysis.
- Backups: Manual and automated snapshots of your database and physical assets.
- Help: Instant access to the knowledge base, developer guides, and support channels.
- Extensions : Expand the core engine with modular functionality, new field types, and third-party integrations.
- Themes : Manage the visual presentation layer, asset pipelines, and front-end template logic.
- Platform : Switch back to the global multi-site dashboard to manage your entire project cluster.
- My Account : Update your personal developer profile, security credentials, and interface preferences.