DEV Community

Discussion on: Integrate Symfony form with Vuejs

zspine profile image

Yes, I agree that in certain scenarios working with Symfony forms a much easier and a huge time saver. However, the API approach has its benefits when we are using Vue on the front-end. There is no much difference in post-processing compared to the traditional form handling and validation can be simplified a lot with Vue front-end.

Complex data? I am not sure what you mean by the complex nested data structure.

Anyway, don't try anything new on an existing codebase. You can do some experiments with a small scale project to understand the architecture and challenges.

Note: API Platform is a much better choice for REST API implementation but it's a bit overkill to implement it in an existing codebase. FOSRestBundle is better for gradual migration.