Angularjs on a symfony2 application

前端 未结 15 1706
面向向阳花
面向向阳花 2020-12-12 09:55

I\'m working on a SF2 application that uses a lot of javascript on the front end.

SF2 provides me a good way of building a nice REST app, manage my database with doc

15条回答
  •  离开以前
    2020-12-12 10:57

    Keeping the angular app separate is more advisable. Just use Symfony as an api for data retrieval/persistence and as security provider.

    This would allow greater separation of view and the data layer. As a result you can start working on the frontend side without thinking yet of the backend implementation. You just need to mock the api calls.

提交回复
热议问题