vendredi 30 septembre 2016

Should all controllers have only the basic CRUD methods?

In Laravel, are all controllers only supposed to have the basic CRUD methods, as shown in the link below?

http://ift.tt/2ddw44n

That is, should the only methods in a controller be:

  1. index()
  2. create()
  3. store()
  4. show()
  5. edit()
  6. update()
  7. destroy()

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire