URI Manager
Play a significant role in routing the system.
URI Manager manages the routing of the URL and sometimes redefines it. There are the following three types of routers:
- Boot Router
- Page Router
- Global Router
Boot Router
Boot Router has a great significance to start the project. The primary role of the boot router is to set from where the system will start. Similarly, it can define the theme and database profile, and it can switch the these selections based on the domain or base web address.
Most importantly, it helps to run multiple systems on single-source deployment. For example, we have the requirement of two pieces of software for two deployments. The first is callcenter.example.com for the call center support team, and the second is procurement.example.com to run a system for procurement departments. In this scenario, both departments want to run separate solutions with different looks and feels. Due to easy maintainability, we can deploy a single version of the source code and offer two different systems through the below steps.
- Create two roles in boot router.
- Initialized two separate domains.
- Define separate theme and database connection profile.
- Define a separate booting point if needed.
- Install different components, plugins and configuration.
- Done
This method helps you centralize many instances of softwares in organizations and offer multiple systems from the user's point of view.