[eluser]yabune[/eluser]
Hi,
If I create a CI site with only one controller and one model, and use the routes to route the urls to different functions of the controller, is it worst in terms of performance?
For example, if I have a site with these sections:
- news
- blog
- photos
- about
Instead of creating a controller and model for each section, I have only one controller with a function for each. And the same for the model. And in the routing, I route the urls for each function.
Apart from the layout and design advantages of having multiple controller for each section, is there any disadvantage of having a single controller?
Thank you!