Welcome Guest, Not a member yet? Register   Sign In
Basic question about CI - lucidity of files
#3

[eluser]4ever[/eluser]
[quote author="eoinmcg" date="1305646902"]i agree that it does get rather unwieldy, particularly for larger apps.

thanksfully there is a great addition to CI:
https://bitbucket.org/wiredesignz/codeig...c/overview

this will allow you to group functionality in modules.[/quote]

Thanx I will try.

I thought about that it could be simple to use such code like

Code:
$this->load->module('forms/login');
$this->load->module('forms/register');
$this->load->module('forms/search');
or to load them all at once>
$this->load->module('forms/');
$this->load->view('forms/');
or maybe complicated things like
$this->load->module('forum/forms/');
to determine where the modules are placed or to load all files in subdirectory.

If IC programmers would implement this feature it would be great. That the load class should to identify whether the string has slashes and if a slash is on the end of string then to go through the directory and load all files in it. I think this should be simple code, few lines... Shorter than the code of HMVC... Without using eval command!


Messages In This Thread
Basic question about CI - lucidity of files - by El Forum - 05-17-2011, 03:50 AM
Basic question about CI - lucidity of files - by El Forum - 05-17-2011, 04:41 AM
Basic question about CI - lucidity of files - by El Forum - 05-17-2011, 04:51 AM
Basic question about CI - lucidity of files - by El Forum - 05-17-2011, 04:09 PM
Basic question about CI - lucidity of files - by El Forum - 05-18-2011, 12:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB