Laravel - can you just backend first?

Asked

Viewed 533 times

0

I am learning Arabic and I can already do a few things (work with routes, Migrations, eloquent, controllers, etc).

However, I keep bumping my head with the front, because I don’t know the best way to work with this framework, so I spend a lot of time frying my brain with this and end up not actually developing what I want, then I wonder if I can do any backend first and then yes go to font?

  • Of course, if you know what the front-end will contain/need from the server

  • Of course not. There’s no way you can test routes without the front end

  • 2

    Of course, you can create the static templates and then use Blade to put dynamics after the back is done. There I love using Vue js front end components.

  • As you can see, this question is very broad and based on opinions =)

  • 1

    Yes, we create the layout and then just integrate, but sometimes it is preferable to have a functional backend and then implement the front-end is less work but who decides the order is you

1 answer

3


Yes, it is possible.

You can apply the approach known as "API First", where you start planning the API (Application Programming Interface) before any development, so much back end, how much front end.

With the design of your application (flow of inputs and outputs) it is possible to trigger both developments (back end and front end) simultaneously with another person, for example.

Reference: Three Principles of API First Design

Browser other questions tagged

You are not signed in. Login or sign up in order to post.