Welcome Guest, Not a member yet? Register   Sign In
Need Help with CodeIgniter MVC layout/seperation
#1

[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?




Theme © iAndrew 2016 - Forum software by © MyBB