[WIP] Create routes from the front end
After new content is created with CreateJS, a frontend script needs to take care of the routes creation, if the SimpleCmfBundle is not used.
This PR is linked to https://github.com/symfony-cmf/cmf-sandbox/pull/143.
Do not merge this PR for now, it has been created to synchronize the work in progress.
@dbu this PR is also ready for review.
Combined with the changes on the Sandbox and CreatePHP, it is now possible to automatically create the routes for new NewsArticle thanks to a JavaScript bound to the midgardstoragesavedentity event.
@adou600 is everything merged in CreatePHP?
https://github.com/flack/createphp/pull/46 is not merged yet. and @flack is away until the end of the month.
i wonder if we should merge all our fixes in the symfony-cmf fork of createphp and temporarily point the sandbox to that fork until its all sorted out?
hmm tricky .. i worry that this will cause even more confusion for users. we already have issues here and there with BC breaks etc .. then again if you guys are 100% sure that this will go through without changes once he is back its a bit painful to have to wait again to finally get this in ..
i just discussed with adrien: this PR does not need any updates in createphp, so i will review and merge now.
however for the add to really work in the sandbox we need the createphp PR to be merged... i will comment some more there.
this should now be handled via RoutingAutoBundle
this should now be handled via RoutingAutoBundle