• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best practise advice needed - where to put small PHP widgets within the app?

#1
[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.


Messages In This Thread
Best practise advice needed - where to put small PHP widgets within the app? - by El Forum - 01-02-2010, 08:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.