symfony_black_014

Symfony2: How to get json encoded request from Backbone.js

Once, during building small web application I’ve got an issue: How to get normally request data from backbone.js ? On front-end I had marionette.js and on back-end Symfony2 application. Thus,  in routing I had in /src/SST/UserBundle/Resources/config/routing.yml something like this: user.register:     path:       /user     defaults:   { _controller: UserBundle:Profile:register }… Read More