Angularjs on a symfony2 application

前端 未结 15 1736
面向向阳花
面向向阳花 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:34

    Use {@ variable @} in templates. After template generated just replace {@ with {{ and @} with }} with simple str_replace function. This way is clean and much faster then strings concatination and so on.

提交回复
热议问题