Example to Modular Separation code - 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: Example to Modular Separation code (/showthread.php?tid=31928) |
Example to Modular Separation code - El Forum - 07-07-2010 [eluser]ssachan[/eluser] Hello Developers, I am looking for a working example implementing Phil's Modular Separation Library. Say a working code that has an authentication module. I have done the basic steps. Get the library, create the module and model,views and controllers inside. But I really can't understand how modular routing takes place. Also lets say if I want my default controller to be /module/auth/controller/welcome, I can't set it in the routes.php. It would be really amazing if someone could point me out to a working authentication module that uses only Module Separation(NOT HMVC). I would like to know more about what functions it exposes. And how they can be used in other modules. Above all how the routing takes place. thanks Shikhar |