I want to create a function for doing all kind of CRUD operation. This function will be called from any controller's inside a function. Then the function will search for a table/Model, then based on operation type it will do the rest things.
It will be good to implement this kind of function that can be used commonly? It will increase the complexity of CRUD? Or, should do the CRUD in controllers' functions? My project is pretty big. Im thinking to write a function to do CRUD.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire