How should I convert the processing using DB that I use repeatedly into external files? Please let me know how Laravel has been decided.
I have three options.
-
I turn common processing into service. Should I create a service container and service provider?
-
I write my pains in Model. However, the source code of OSS I saw was only described in Relation in Model.
-
I make class files where I want.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire