• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where to place functions that work with database

#5
(05-07-2019, 07:01 PM)php_rocs Wrote: @pcasalegno,

....or you could make your models do a lot of the lifting (you could use database views and private methods/functions in models that do a lot of the calculations) and return your data in a format where all you have to do is display it.

This is a great idea, and probably more in-keeping with the MVC concept.  Thanks!
Reply


Messages In This Thread
RE: Where to place functions that work with database - by pcasalegno - 05-07-2019, 07:46 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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