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…
Category: Symfony
HTTP/2: speed up your apps and dispatch real time updates (Symfony and API Platform’s features announcement)
HTTP/2 can improve the loading time of webpages up to 2 times. Did you know that it’s very easy to optimize your Symfony applications to leverage the advanced features of this new protocol? This talk also contains the announcement of 3 new PHP packages: Symfony Mercure Component Symfony Mercure Bundle Mercure integration in API Platform…
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: A Framework for API-driven Projects (DevTalks Bucharest)
Here the slide deck I presented during DevTalks Bucharest 2018. It covers the main features of the API Platform framework: we will install the framework, design an API data model as a set of tiny plain old PHP classes and learn how to get: A fully featured dev environment with Symfony Flex and React containers,…
Mastering the Symfony Serializer (PHP Tour)
The Symfony Serializer Component exists since the very beginning of Symfony 2. Years after years, it gained a lot of new features useful to transform various data formats to PHP structures and the opposite. It is also a foundation block of API Platform and a first-class citizen in FOSRest. Let’s dive into this component. We…
REST vs GraphQL: illustrated examples with the API Platform framework (PHPTour/SymfonyLive)
GraphQL is an increasingly popular alternative to REST architectures for building web APIs. The query language promoted by Facebook has undeniable advantages: retrieve exactly what the client need, limitation of the number of queries, strong typing, powerful and extremely well thought out syntax… However, it also suffers from often underestimated problems including HTTP cache, logs,…
API Platform 2.2: GraphQL, JSON API, React admin and PWA, Kubernetes instant deployment and many more new features
I’m glad to announce the immediate availability of API Platform 2.2 beta 1. This is a huge release that comes with a lot of exciting features including (but not limited too): GraphQL and JSON API support Symfony 4 / Flex integration API Platform Admin integration (built with ReactJS and Admin On Rest) ReactJS and Vue.js…
HTTP/2, PHP and Symfony: a brief history of the protocol powering the web, and how to use it
Here are the slides I presented yesterday during the Paris Symfony Meetup. On the menu: a brief history of HTTP, how to use it with PHP (server and client-side) and how to push with Symfony 4. Learn more about Symfony’s HTTP/2 support in my in-depth presentation of the WebLink Component.