tenancy-docs/source/docs/v3/the-two-applications.blade.md
Adebayo Ilerioluwa a4645b3abd
Improved Documentation Search (#61)
* 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>
2020-07-21 20:18:29 +02:00

22 lines
847 B
Markdown

---
title: The two applications
extends: _layouts.documentation
section: content
---
# The two applications {#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