vendredi 24 juin 2016

Laravel models - Create, read, update and delete functions

I'm new to Laravel, I have no problems but need advice. In my thoughts it will be better practice if I make Create, read, update and delete functions of my table located in my model to be more orgnised. all tutorials that I learned are locating these functions in controller.

  • What difference does this approach make?
  • does my structure effect the security of the app?
  • if not effecting, how to implement functions in my way?


from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/291z0f2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire