thecodingmachine / symfony-vuejs

Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs
MIT License
178 stars 50 forks source link

Symfony5 and API Platform #31

Open tacman opened 4 years ago

tacman commented 4 years ago

Terrific article (https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs).

If you decide to update to Symfony 5 (which would be awesome), can you also consider using ApiPlatform instead of custom JSON endpoints?

Oh, if if you're feeling really generous with your time and talent, what about integrating Google's Workbox, and make this an offline SPA?

Question: if you were starting over, would you use Vue, or would you use React?

Anyway, thanks very much for your very thorough tutorial, much appreciated.

gulien commented 4 years ago

Hello @tacman

Thank you for the kind words :)

If you decide to update to Symfony 5 (which would be awesome)

Indeed I plan to write a new tutorial for Symfony 5.

can you also consider using ApiPlatform instead of custom JSON endpoints?

Not sure about this to be honest. Maybe I'll go for GraphQL with GraphQLite.

Oh, if if you're feeling really generous with your time and talent, what about integrating Google's Workbox, and make this an offline SPA? Question: if you were starting over, would you use Vue, or would you use React?

There are a lot of stuff happening currently in the frontend technology: server-side rendering with Nuxt.js, Vue 3, Next.js etc. I need to take a closer look at those and see what's fit well in most use case :)

ellisgl commented 4 years ago

Since you didn't lock down the versions of things, you get the newest stuff and things break.. =/