I am working on a blog application with Codeigniter 3.1.8.
Currently, its admin area is well separated from the frontend.
In the frontend, I have managed to replace "classic" Codeigniter views with JSONS. (the JSONS are displayed and "handled" with AngularJS).
Here is the code in the controller for…