Support the ongoing development of Laravel.io →
Blade Database Views
Last updated 2 years ago.
0

Hello

As you are here, probably you already decided to use Laravel, but before you start the actual coding I would suggest to answer yourself some questions in advance

  • What information I'm going to store and what are the relations between the different entities?
  • What database to use - MySQL, PostgreSQL, MongoDB...
  • Am I going to make a REST API with SPA in front?
  • Is this application for internal or public usage?
  • Do I care about design, user experience or I'm fine with the basics?

About your question

So what is the structure i should do and the process?

I'm not sure I completely understand your question but here are some tips, based on the Laravel projects I saw in the last couple of years.

This sounds as a relatively small application, so it shouldn't be over-engineered. I would follow the basics

  • Keep it simple
  • Use good understandable naming
  • Write tests - this will ensure your code is testable which will make it more readable
  • Do not make huge controllers with tons of business logic
  • First check what Laravel provides, before starting reinventing the wheel
  • Read this
Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mostafa mostafasadeik Joined 18 Feb 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.