[eluser]Peter Lachky[/eluser]
Hi guys,
as I am still new to CI and some areas are not quite clear to me I would like to ask you for an advice.
I am developing this application which, in browser, has the main content area and the right and left sidebars with some widgets, eg: search button, ads, list of categories, list of tags, current weather, etc...
My question is: Where do I put these widgets? Those are rather small pieces of code and I would like to keep them in separate files. However, these can not be views as some of them need to access the database. What is the best practise to achieve something like this?
Thanks for your time.