Welcome Guest, Not a member yet? Register   Sign In
Need Help ..
#1

[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...
#2

[eluser]toopay[/eluser]
Have you read the CI userguide? Here : http://ellislab.com/codeigniter/user-guide/toc.html
#3

[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
#4

[eluser]toopay[/eluser]
Manage your apps in CI on User Guide
#5

[eluser]phpfresher[/eluser]
thanks for your support but can u go little far from the documentation. Please tell me how you will do that
#6

[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
                               -> controllers
                               -> errors
                               -> libraries
                               -> models
                               -> views
                -> backend_app -> config
                               -> controllers
                               -> errors
                               -> libraries
                               -> models
                               -> views
-assets         -> css
                -> img
                -> js
-system [which holds CodeIgniter core]
-index.php [which holds main app]
-admin.php [which holds back-end app]
-.htaccess [which contain mod_rewrite rules]
#7

[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
#8

[eluser]InsiteFX[/eluser]
You could also look into using modules and only one app!

Like HMVC in the WIKI.

InsiteFX
#9

[eluser]phpfresher[/eluser]
Can you please elaborate ???
#10

[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!




Theme © iAndrew 2016 - Forum software by © MyBB