Welcome Guest, Not a member yet? Register   Sign In
CMS best practice on CI
#1

[eluser]Felipe Deitos[/eluser]
Hi, i am working for some time with CI, but i'm still a newbie...
I am trying to do a consistent CMS, so i can use it in other jobs.

I am struggling with the folder structure and url structure inside my application.

What is the best way of doing the folder and url structure?

I got a folder inside views called admin..
When the user go to /admin he will login and enter in the admin

Then lets pretend we got a news system in CMS

Should i put the views/controllers/models inside the admin files and folder?
All the url will be like /admin/news or /admin/newsadd that will be nice but at the end in the admin controller and admin model i will have like 1000012389 lines hehe...

I guess that is not nice...
But then if i put the news files outiste the admin folder, in a new folder called /news
The url it will be outside the /admin

(THAT WAS FREAKING CONFUSING i hope u guys understand what i mean)

Can someone please tell me what is the best practice, or tell me how you do that so i can compare?

Thanks!



Messages In This Thread
CMS best practice on CI - by El Forum - 10-22-2012, 05:23 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:41 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:48 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:56 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:57 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 06:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:06 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:15 AM
CMS best practice on CI - by El Forum - 10-22-2012, 09:24 AM
CMS best practice on CI - by El Forum - 10-23-2012, 02:31 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:08 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:49 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:55 AM
CMS best practice on CI - by El Forum - 10-23-2012, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB