DEV Community

Discussion on: Getting started with Laravel and Vue js

Collapse
 
jamescampbell profile image
JC

This begs the question of why use laravel? Vue is a framework all on its own and it would seem you could just do everything in vue.

Collapse
 
innovationsusa profile image
innovationsusa

PHP does a lot of things far better than JS. One of those things is interacting with the database. Another is managing concurrency and load on the server.

JS is good for swishy, swirly effects and asynchronous requests to switch out part of the DOM, but heavy lifting still needs to be done by real, server-side languages.

By the way, you don't need a framework. Vanilla JS is a lot lighter and faster. It's ironic that most "Javascript developers" are terribly unskilled with actual JS.

Collapse
 
beytek profile image
Karim Sabbagh

dude...