Framework architecture components
Let’s dig into the framework architecture components that are presented in Figure 5.2:

Figure 5.2: Diagram of architecture components
Core
The core is the fundamental structure of a framework, encompassing all critical components required for the application’s operation. It provides the foundational infrastructure and manages the application life cycle, configuration, and basic primitives.
The following is the composition of the core:
- Application context (containers, configuration): Manages global dependencies, configurations, and the overall state of the application. For example, in Django, this includes managing configurations through
settings.py
and handling dependencies viaINSTALLED_APPS
. Here,INSTALLED_APPS
refers to a registry that tracks and manages various framework components, such as routes, middleware, and registered applications. For example, in Django, registries includeURLconf
for route...