Concept
Concept
There are only two the most important concepts of the framework:
Context
- as a dependency container, it is responsible for resolving dependenciesProvider
- groups your domain features
Provider
Provider is a class that defines all features from the domain. This way you can easily activate or deactivate features and group them for easier maintenance.
You can read more about Provider
under Packages > Framework > Providers.
Request timeline
Whole website or application is executed in few simple steps.
Create context
Create environment
Error reporting
Exception handling
Path definition - see
path()
Load root config - see
config()
Create, init and run app
Parse app config
Set localization
Init database connections and routing
Register main provider
Init session, response, request and assets
Run request - this is only thing you need to take care of :)
Return response
Context
A global context holds singletones and registers resolvers which automatically resolves an instance of the requested class or interface.
You can read more about Context
under Packages > Concept.
Read more
Now that you're familiar with core concepts, directory structure and request timeline, proceed with the Quick start section where you will learn about how to register and implement your domain features.
Last updated
Was this helpful?