CodeIgniter Forums
Modular Separation - PHP5 (Modules) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Modular Separation - PHP5 (Modules) (/showthread.php?tid=20208)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


Modular Separation - PHP5 (Modules) - El Forum - 10-16-2009

[eluser]wiredesignz[/eluser]
Modular Separation - PHP5 version 1.05 is attached to this post.

Fixed bug with {elapsed_time} described above.
Added support for $this->config->load() and $this->lang->load() in modules.

EDIT:
deprecated file removed


Modular Separation - PHP5 (Modules) - El Forum - 10-16-2009

[eluser]Vlad0[/eluser]
Did anyone tried modular separation with DMZ? It works perfect when DMZ model is in normal models folder but when is in the modules/MODULE/models cannot find it.

I'm not sore is this right topic for this question or it need changes from DataMapper side


Modular Separation - PHP5 (Modules) - El Forum - 10-18-2009

[eluser]wiredesignz[/eluser]
Modular Separation - PHP5 version 1.06 is attached to this post.

Added feature: Multiple module base locations.

EDIT:
deprecated file removed


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]bryan2923[/eluser]
[quote author="wiredesignz" date="1249362628"]
Controllers in sub-directories are supported and resources may be cross loaded from other modules.
[/quote]

How do you go about cross loading resources from other modules? How can you specify which module to load a model from?


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]bryan2923[/eluser]
errr my bad, I had some naming issues going on. It works as you would think $this->load->model(modulename/model);

Nice work on this project, so far it is running very smoothly


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]Tom Schlick[/eluser]
i love this. so much better than Matchbox... but it would be nice if i went to the admin module via /admin it would auto load the controller that is set in the routes folder as home

/admin/welcome

if it already does this im retarded and cant figure it out haha


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]wiredesignz[/eluser]
It does.

Set a route in your admin module config/routes.php file as
Code:
$route['admin'] = 'welcome';



Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]Tom Schlick[/eluser]
oh ok that makes sense... thanks!


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]fredwu[/eluser]
Hi wiredesignz, any plans to backport the new features back to ME-HMVC?


Modular Separation - PHP5 (Modules) - El Forum - 10-19-2009

[eluser]wiredesignz[/eluser]
Hey Fred,

Yes Modular Extensions PHP5 version 5.2.26 will have the same features. In fact the two projects share the same codebase.