I’m very excited to announce the immediate availability of API Platform 2.5! API Platform is a set of standalone server and client components for building and consuming REST (JSON-LD, Hydra, JSON:API…) and GraphQL APIs. The server components use PHP and Symfony while the client-side components (which support any Hydra-enabled web API, even the ones not…
Category: JavaScript
Mercure: Real-Time APIs for Serverless and Beyond
Here is the slide deck I presented during API Days SF 2019: Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way. It is especially useful to publish real-time updates of resources served through web APIs, to reactive web and mobile…
Using Next.js and Material UI Together
Next.js is a convenient and powerful framework for React. Its main benefit over using React directly is its transparent support for Server-Side Rendering.Material UI is a very popular set of React components implementing Google’s Material Design guidelines. Both libraries are impressive, but there are some tricks to know to make them playing well together. Bootstrapping…
React ESI: Blazing Fast SSR
React ESI is a super powerful cache library for vanilla React and Next.js applications, that can make highly dynamic applications as fast as static sites. It provides a straightforward way to boost your application’s performance by storing fragments of server-side rendered pages in edge cache servers. It means that after the first rendering, fragments of…
Symfony on steroids : Vue.js, Mercure, Panther (SymfonyLive Paris)
Watch the video (in French)! Thanks to the new capabilities of the web platform (web components, Progressive Web Apps…) and the rise of modern JS libraries (Vue, React, Angular) almost all modern Symfony applications must leverage the frontend ecosystem. Symfony 4 embed many gems that make it easy to integrate modern JavaScript within the framework,…
NPM dependency hell: comparison with Symfony, Laravel and API Platform
You may have noticed the recent fuss about the compromise of event-stream, a popular NPM package: event-stream is a transitive dependency of many popular JavaScript projects including Vue, Angular, Gatsby and VSCode (some of them are using a version that isn’t affected by the attack). This attack raised, again, the problem of the JS dependency…
Panther: test your Symfony apps with real web browsers
Panther: test your Symfony apps with real web browsers from Les-Tilleuls.coop From a few lines of jQuery to modern React/Vue… PWA, Symfony apps always contain JavaScript code. Unfortunately, the SF functional test helper and the Goutte web scrapping lib aren’t able to execute JS code. It means that they cannot assert on client-side generated HTML,…
Upcoming conferences and workshops
I’ll speak at several conferences until the end of 2018. The topics will be varied: Panther, modern JavaScript, HTTP/2 and a brand new project to be announced (teasing: it’s written in Go, and it will be very helpful for serverless architectures!). See you at: Symfony Live London (September, 27th): Building API-driven apps with API Platform…
Introducing Symfony Panther: a Browser Testing and Web Scraping Library for PHP
Today, an introduction blog post to Panther was published on the Symfony blog! Panther is a new browser testing and web scraping library I contributed to the Symfony project, In the blog post, I showcase how to use Symfony, API Platform and VueJS together to create a small but modern app, and how to test…
API Platform 2.3: Major Perf Improvement, API evolution/deprecation, Better Dev Tools and Much More!
Today, the API Platform framework has reached 3k stars on GitHub, and it makes us very proud! To celebrate, I’ve just tagged the 2.3 version, that comes with a lot of amazing new features. Let’s discover them! For newcomers, API Platform is a modern open source framework for API-driven projects. It allows, in just a few minutes, to expose hypermedia…