Separate Admin and Front in codeigniter
问题 What is the best way to separate admin and front-end for a website in codeigniter where as I was to use all libraries, models, helpers etc. in common, but only controllers and Views will be separate. I want a more proper way, up for performance, simplicity, and sharing models and libraries etc. 回答1: I highly suggest reading the methods outlined in this article by CI dev Phil Sturgeon: http://philsturgeon.co.uk/blog/2009/07/Create-an-Admin-panel-with-CodeIgniter My advice: Use modules for