baguus

Code organisation - architecture

Posted 11 months ago by baguus

Hi guys

I'm wondering on how to organize my code. I wrote this niffty widget for my application. I put the controller logic for the widget in a service provider as I need it on the dashboard (home) for a certain user. Now I need similar widgets elsewhere in the application. Do you think its better to write the loginc for other widgets in the service providers or would you rather use model controllers or perhaps helper class for such a task? For this tasks I don't really need service providers. But if someone was to take over the project, where would he/she look first?

BR, Igor

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.