Welcome Guest, Not a member yet? Register   Sign In
modules in CI?
#1

[eluser]Reynolds[/eluser]
it's been a long while, since I ask a question here at the forum Wink

when I came here at the forum, my question was to why would I use CI, and what are its pitfalls... still I end up using it... for a long while now Wink

Now, I happen to hit a project which will include multiple modules. I said "modules" as part of single-website (and same database), but independent to other modules (e.g. tables, and libraries, resources like images, js, and css).

I'm trying to find a way how to do just that with CI. However, I seem to not found it.... yet.

I would like one controller, on its own folder, along with a /view/ and /resources/ folders inside it.

For example.

I would like an "Inventory" Module;

/index.php
/system/
/modules/ <---- this is where I would like to put all modules


/modules/inventory/

/modules/inventory/views/

/modules/inventory/resources/
/modules/inventory/resources/images/
/modules/inventory/resources/js/
/modules/inventory/resources/css/
/modules/inventory/resources/includes/


the module(s) shares the same database, sessions, etc of the entire application. Also I would like to implement an autoloading of this modules. If a module is found within the /modules/ folder it will automatically load, and show it at the main workspace or dashboard as many calls it that way.

I looked at scaffolding, it seems similar to what I' thinking, coz it have its own and independent views, controller, and resources. But, before I destroy my copy of CI, I would really love to get the proper know-how for this.


Thanks Wink


Messages In This Thread
modules in CI? - by El Forum - 06-09-2008, 07:48 PM
modules in CI? - by El Forum - 06-09-2008, 10:57 PM
modules in CI? - by El Forum - 06-09-2008, 11:53 PM
modules in CI? - by El Forum - 06-10-2008, 12:42 AM
modules in CI? - by El Forum - 06-10-2008, 01:28 AM
modules in CI? - by El Forum - 06-10-2008, 01:33 AM
modules in CI? - by El Forum - 06-10-2008, 01:54 AM
modules in CI? - by El Forum - 06-10-2008, 02:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB