I currently have two CodeIgniter applications CI1 and CI2 that have different purposes.
- CI1 - front end (contains view and controllers. Controllers call CI2 via REST)
- CI2 - back end (contains controllers and model. Performs business logic. Receives inputs via REST)
I have been trying to find out if this is an alright setup. I have heard that an alternate method would be to set up symlinks to join them. The reason I have done this is because I wanted to decouple my application and was wondering how it would work if I CI1 sat on the web server and CI2 sat on the application server.