0

I'm learning vue.js now on laracasts.com and there jeffrey way shows 2 way to display data on web page. One is to display data from Laravel foreach and second is to display data with vue.js. I have one question: is there any difference by performance to display data with Laravel or display data with vue.js?

2
  • can you post the link of video? Commented Apr 16, 2016 at 18:41
  • @JoseRojas enter in laracasts.com and there is free course of vuejs Commented Apr 16, 2016 at 19:14

1 Answer 1

2

As for preformance you can take a look of this question:

But using Javascript to display data, you have less coupler between Controller and View layers. That way if your Views get more complexity this independence can help you a lot or if you want to make your page more dynamic using AJAX. Theres others options in frontend like Angular.js and Ember.js make you to use MVC in your View layer. The other hand if your view is basic you can use PHP.

Sign up to request clarification or add additional context in comments.

1 Comment

thank yout first link answered my question

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.