Welcome Guest, Not a member yet? Register   Sign In
Avoiding massive controller: where to put individual files
#4

(12-27-2014, 02:52 PM)sneakyimp Wrote: The question is not so much how I alter the URL mapping, but rather where do these files go in the directory structure of CI? They are not controllers. Do they belong in the library directory? Or core directory?

core is to extend or replace core libraries.
model is for your data model (database classes).
libraries is for your other classes.
helpers is for file containing functions.
third_party is for files from other project used by you application.
Reply


Messages In This Thread
RE: Avoiding massive controller: where to put individual files - by includebeer - 12-27-2014, 07:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB