Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

Overview for php


How to expose your Routes and Translations to your Front End JavaScript in Symfony

As more and more processing is moving over to the client side you're more likely than ever to need to expose your back end resources via an API. The top of mind is application data, but you'll likely need to get endpoint URLs and translations as well. Or maybe you don't, but you should - manual maintenance is laboursome and error prone.


Written by Jani Tarvainen on Thursday July 2, 2015
Permalink - Tags: symfony, php, javascript, api, i18n, l10n, php-fpm, ezplatform