Quick question, I am learning Laravel 4, as I come from Codeigniter, I noticed that some tutorials on laravel have their own queries in the controller, and some have their own queries in the model.
My question is: where should we write all our queries for best practice? In the controller or model? This applies to large web applications.
Many thanks
source
share