Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB