App Structure |
[eluser]Unknown[/eluser]
Hi, Just a "common" contribution for you all out there starting CI and to anyone confused about how to make ur CI more little bit secure... this is how we do it, of course u might want to put it in more secure part in ur server.. CI allows u to do that.. u know, its just PHP u can hack in to if u need to.. Code: <root> =-==-=--==--= index.php -=-=-=-=-=-=-=-= $system_folder = "../ci/v1.6.3/"; $application_folder = "../../v1.0/"; -=-==-=-=-==--=---==--=-=-=-==-=-=--=-=- In order for you to get your assets/ u need to make a symbolic link, if ur in windows, u will need the so called "junction" from microsoft kb pages, in vista or linux. or you can use aliases if u have an access to your web server, or else im sure google will help you, also CI is an active community. .."of course u need some of the MS tools in development, and im sure you'll host it on a linux machine.." right? support: irc.freenode.com ~ #codeigniter -=-==--=-==-=--==--=-==-=--==-=-=-=-=-=-= About HMVC, u can use to map your modules dynamically, so u can just drop modules and it will work by : http://mypage.com/si_system/ u can route it, or same w/ http://mypage.com/ mods/si_system where mods is the controller that will check it and print what mods u specify..im sure u can figure a logic for that... -==-=--=-==-=-=--==================-=-=-=- By the way, above folder structure is just "basic"ally what im doing.. you can have your own way of doing it.. God Bless you all.. Happy Coding.. Nivekt, CI Down-to-Earth Web Developer |
Messages In This Thread |
App Structure - by El Forum - 08-17-2008, 09:13 PM
App Structure - by El Forum - 08-18-2008, 02:20 AM
App Structure - by El Forum - 08-18-2008, 02:33 AM
App Structure - by El Forum - 08-18-2008, 05:33 AM
App Structure - by El Forum - 08-18-2008, 05:49 AM
|