Welcome Guest, Not a member yet? Register   Sign In
Folder Structure - Am I doing correctly?
#1

[eluser]Jeffrey04[/eluser]
I'm not sure whether I am doing correctly but following is my folder structure

app
|-controller
||-module
|||-main.php // default controller
|||-add.php // for adding records
|-model
||-module
|||-module_model.php // storing the model for a module
|-view
||-module
|||-module-action-name.php // storing template

however, having a controller class named 'add', I am getting some problem with scaffolding because when I want to add a record, i get to http://project.tld/codeigniter/module/add/ which is my 'add' controller class???


Messages In This Thread
Folder Structure - Am I doing correctly? - by El Forum - 04-15-2008, 08:14 AM
Folder Structure - Am I doing correctly? - by El Forum - 04-17-2008, 01:13 PM
Folder Structure - Am I doing correctly? - by El Forum - 04-17-2008, 01:17 PM
Folder Structure - Am I doing correctly? - by El Forum - 04-18-2008, 10:26 AM
Folder Structure - Am I doing correctly? - by El Forum - 04-18-2008, 10:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB