![]() |
CodeIgniter Apply MVC concept - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CodeIgniter Apply MVC concept (/showthread.php?tid=53079) |
CodeIgniter Apply MVC concept - El Forum - 07-10-2012 [eluser]Unknown[/eluser] I have a question to apply a concept in MVC. Users need to register, but "User" has "Address" and "Telephone", which have separate tables in the DB. Spoken in Models and Controllers, which must have exactly? I'm wondering the following: Code: * Controller User -> User Model And in the "User" Controller to make the checks address and telephone and then send the data arrays for your models. Code: User Controller (Address Array) -> Address Model This thought is correct according to Object Orientation and the MVC Pattern? Thank you! |