Need Help .. |
[eluser]phpfresher[/eluser]
Hey i am a new to codeigniter and i dont understand about folder redirection like module management and i have admin section and client section. How can i manage it...
[eluser]toopay[/eluser]
Have you read the CI userguide? Here : http://ellislab.com/codeigniter/user-guide/toc.html
[eluser]phpfresher[/eluser]
I have read it ... but little bit confused bcoz i am a very new to codeigniter. ok here is my pattern : root folder-> index.php ...other public files js folder css folder adminfolder -> same pattern goes for admin
[eluser]phpfresher[/eluser]
thanks for your support but can u go little far from the documentation. Please tell me how you will do that
[eluser]toopay[/eluser]
Suppose i have to build some app with separated back-end app, i'll have a cascade directory like.. Code: -application -> main_app -> config
[eluser]phpfresher[/eluser]
Thanks and i understand the concept . Ok i have another question. If i have the following file structure application -> main_app -> config -> controllers ->admin -> errors -> libraries -> models -> views ->admin -assets -> css -> img -> js Which one is simple and best . Can you suggest me
[eluser]InsiteFX[/eluser]
You could also look into using modules and only one app! Like HMVC in the WIKI. InsiteFX
[eluser]toopay[/eluser]
What InsiteFX mention above is create a module (you can assume modules as mini-application) to handle the back-end stuff, so you only have one app structure. It will depend on your need and your application scale, to decide are you make it into module or build it as separated app! |
Welcome Guest, Not a member yet? Register Sign In |