Using base_url() on my new host. |
[eluser]pickupman[/eluser]
I use Modular Separation in my projects. What I do when create a project is have a module name like test. Then I have a controller test.php and admin_test.php. I use routes like: Code: $route['admin/([a-zA-Z_-]+)/(:any)'] = '$1/admin_$1/$2'; This creates links like http://site.com/admin/test loads test/admin_test.php controller Now you have one install, better file organization, one application. Modular Separation works just like regular CI, but now you can keep code together. Take your member list. You will have frontend controller/views and same for admin. That means member can be a module. The nice part of modules, is that it makes it easy when you do another project that needs the same code. You just copy the module folder into a new install, and it's all setup. |
Messages In This Thread |
Using base_url() on my new host. - by El Forum - 07-22-2010, 05:31 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 06:06 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 06:22 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 06:32 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 06:48 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 06:57 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 07:14 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 07:15 PM
Using base_url() on my new host. - by El Forum - 07-22-2010, 07:39 PM
Using base_url() on my new host. - by El Forum - 07-23-2010, 06:38 AM
Using base_url() on my new host. - by El Forum - 07-23-2010, 07:05 AM
|