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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire