I am working on a small web application. In my application I follow the following approach.
Small overview of system
- The Application will be hosted on the server for example (www.example.com )
- Clients such as Microsoft, Cocacola, IBM.... etc will sign up. And the clients will access the application by using url like this ( www.example.com/ibm )
- Each client will have separate database to store their data.
If the employees of the client want to login into the system then the url pattern should be like this :
(www.example.com/ibm/user/login)
ibm - is the client
user - is controller
login - is method of user controller
How to achieve this?