mercredi 29 avril 2020

Planning a laravel application - MVC disaster

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.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Yib2q0
via IFTTT

Aucun commentaire:

Enregistrer un commentaire