I'm not sure if React and Symfony (a PHP web framework) is a good combination. With the modern JS frameworks (React, Angular etc.) server based web frameworks seems to be dead, at least for new projects. If I were you I'd choose another language for the business layer (Python, Kotlin etc.) instead of PHP.
To throw in my $0.02, Sails.js and Trails.js have very low barriers to entry and allow you to build a JSON API almost mindlessly. Plus, then you're in the magical world of full-stack javascript, and server-side rendering and other isomorphic patterns are only a Google and StackOverflow away.
Why do you think symfony is dead? Symfony along with Laravel are two of the most popular php frameworks. React and Symfony makes a great combination. As a matter of fact, symfony has support for react with symfony webpack encore component. Webpack Encore is a simpler way to integrate Webpack into your application. It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets. Encore gives you professional asset system that's a delight to use.
I didn't say that. I said web frameworks in general, language agnostic. If all the view/controller processig is moved to the browser and the server simply serves REST services many functionalities of the framework are not used. I'm thinking about Struts, JSF, Spring MVC. I don't know the PHP world, maybe its frameworks do different things but I doubt it.
You are entitled to your own preferences of course, but the idea that the client/server model is dead is simply not true... Traditional frameworks have become very good at serving APIs.
I'm not sure if React and Symfony (a PHP web framework) is a good combination. With the modern JS frameworks (React, Angular etc.) server based web frameworks seems to be dead, at least for new projects. If I were you I'd choose another language for the business layer (Python, Kotlin etc.) instead of PHP.
To throw in my $0.02, Sails.js and Trails.js have very low barriers to entry and allow you to build a JSON API almost mindlessly. Plus, then you're in the magical world of full-stack javascript, and server-side rendering and other isomorphic patterns are only a Google and StackOverflow away.
Why do you think symfony is dead? Symfony along with Laravel are two of the most popular php frameworks. React and Symfony makes a great combination. As a matter of fact, symfony has support for react with symfony webpack encore component. Webpack Encore is a simpler way to integrate Webpack into your application. It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets. Encore gives you professional asset system that's a delight to use.
I didn't say that. I said web frameworks in general, language agnostic. If all the view/controller processig is moved to the browser and the server simply serves REST services many functionalities of the framework are not used. I'm thinking about Struts, JSF, Spring MVC. I don't know the PHP world, maybe its frameworks do different things but I doubt it.
You are entitled to your own preferences of course, but the idea that the client/server model is dead is simply not true... Traditional frameworks have become very good at serving APIs.
cough cough GraphQL cough cougghhh
What about it?