We recently introduced the AssetMapper component and Symfony UX to make the most of the web platform and reduce the amount of JavaScript code to the absolute minimum. This “radically simple” approach is generally the most efficient, and should be the go-to method for most new Symfony applications. However, API-based, JavaScript-heavy applications are still inevitable…
Tag: API
API Platform 3 Is Released!
Antoine Bluchet and I have just released the new major version of API Platform during the opening keynote of the API Platform Conference! As usual, API Platform 3 can be downloaded directly from our GitHub page. This version comes with many major features that are being presented at the conference. Say hello to API Platform…
Preventing CORS Preflight Requests Using Content Negotiation
In modern web applications, it’s a common pattern to serve the web API and the frontend app from different subdomains: https://api.example.com: your web API, usually serving JSON documents https://example.com: your web application, usually built in JavaScript, generating HTML documents from the raw JSON data retrieved from the API This was the pattern implemented by API…