mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
* chore: (Improve documentation search for V3) * fix: checks for mispelled words * fix: mispelled words * fix spaces and syntax * Update multi-database-tenancy.blade.md Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
847 B
847 B
| title | extends | section |
|---|---|---|
| The two applications | _layouts.documentation | content |
The two applications
You will find these two terms a lot throughout this documentation:
- central application
- tenant application
Those terms refer to the parts of your application that house the central logic, and the tenant logic.
The tenant application is executed in tenant context — usually with the tenant's database, cache, etc. The central application is executed when there is no tenant.
The central application will house your signup page where tenants are created, your admin panel used to manage your tenants, etc.
The tenant application will likely house the larger part of your application — the real service being used by your tenants.
TODO: Explain how to structure application code for clarity