Need Help with CodeIgniter MVC layout/seperation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Need Help with CodeIgniter MVC layout/seperation (/showthread.php?tid=45660) |
Need Help with CodeIgniter MVC layout/seperation - El Forum - 09-29-2011 [eluser]Unknown[/eluser] Hi, So my website is still in alpha, and I am porting it. I need to know where in the MVC you put these. - Custom Classes that connect to remote services via tcp - Uploadify backend code that handles an upload, then uses the custom class to send it to the cloud - Database Queries (looks like I put this in a model?) to be used by views. - JS/CSS files (I take it most people put in an /assets folder?) My biggest worry here is having to recode the custom classes. I have to pass data to the view - does it have to be in an array? Also, my custom class is an extension of a third party class, which I would not want it's functions exposed using URI. I do not plan on exposing it in a view, so I think I should be okay as long as my class functions beginning with the underscore? |