649 B
649 B
A attempt to split Laravel into domains and modules to support large projects without creating a ball of mud.
Structure
The app folder has been removed and instead of that there are multiple folders in to root. Each resembling the app folder.
These folders are different domains. Pieces of the overal system that are or could be loosly coupled. Information exchange between these domains must use events or by specifically designated services.
Events are used to lat subscribers from any domain know something happened and it's up to that domain to die with that information what is want.
Service are used to query and command other domains.