mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
3.x redesign
This commit is contained in:
parent
857122540f
commit
f8f354c323
229 changed files with 201175 additions and 22440 deletions
22
source/docs/v3/the-two-applications.blade.md
Normal file
22
source/docs/v3/the-two-applications.blade.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: The two applications
|
||||
extends: _layouts.documentation
|
||||
section: 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue