Welcome Guest, Not a member yet? Register   Sign In
How to setup your codeigniter projects
#1
Question 

How do you guys arrange/structure your projects?

How do you guys structure your controllers? 

how do you separate your functions into specific controllers?

For example: login,logout,register functions should go inside accounts controller.

Let's say i want to make an online shopping web app using codeigniter.

Therefore i will have browse_items function and create_item.

The former doesnt need a logged in account but the latter needs an authenticated account.

Do i then make 2 versions of item controller and put them in separate subfolder inside my controller folder named private/public?
Reply


Messages In This Thread
How to setup your codeigniter projects - by dweenator - 03-01-2019, 03:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB