Welcome Guest, Not a member yet? Register   Sign In
Still a bit confused about how I should divide up my controllers
#1

[eluser]D_Williams[/eluser]
I'm new to CI and the MVC way of doing things in general. I have some half finished project that's rapidly becoming a mess and it seems like CI would really clean it up. I've watch a bunch of tutorial videos and read most of the documentation, but I'm still not sure where I should draw the lines as far as my controllers go.

My project is relatively simple, it will have all the basic home/register/login/forgot password/verify email pages that are present on so many websites, plus a few site specific pages and admin pages. Should I have a controller for each "page", or should I make something like a "site" controller with a method for each one of my pages, or somewhere in-between?

Also, another small tag-along question I have about CI: If my script is going to be a redistributable package, what's the preferred way to distribute it? Should I package it all together with CI's system folder or should I just have my application folder available for download and let the installer worry about app management and such?


Messages In This Thread
Still a bit confused about how I should divide up my controllers - by El Forum - 08-09-2010, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB