We are building a intranet web application in PHP with CakePHP. However we have barely experience with CakePHP Our Intranet will have two user portals.
- Employee portal
- Client portal
Both portals will use the same data but have their own user interface. Employees can see other data than clients and vice versa.
We want to build a central core for both portals. For example, a single authentication system, a contact form, a notification functionality, same footer information, etc. We want to use this central core as much as possible so we don't have to rewrite code.
We use Git to manage our code. We want to make a branch for both portals and one for the shared core.
We hope you can give us some advise about how setting this up with CakePHP.
- Is building multiple app's a good idea?
- Or should we just run CakePHP and our core on two web servers? (one for each portal)
- Or should we use plug-ins for the core functionalities?
- Or should we use single controllers with multiple views (one for employee and one for client?)
- Or something totally different?
Thanks for any advice