I am currently creating a small Laravel project. The goal should be. Every User can have 1 or more projects. Every project has data that displayed in Datatables.
The Problem. The data for each projects are different in structure (e.g. Addresses, Questionnaire, ...)
I have now created a separate model / view / controller for each project. But I think it's not the right way. e.g. 100 users have 2 projects, then I need 200 model / views / controller ???
How could I do better? Thanks in advance for your help.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire