-
Here is the diff if you want to deep-dive head first!
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
Next, I went to see Nicolas Grekas' talk about proxies: he presented different ways to implement a proxy system, and examples of each one that can be found in Symfony or Doctrine. Doctrine has an old implementation in doctrine/common that we are trying to get rid off, and Nicolas has proposed to replace those with Lazy Ghost proxies. I know, I know, funny name. 👻 Lazy ghost proxies cannot be used with final classes, or internal classes, but do allow to use a fluent API, which makes them a good fit for doctrine/orm entities.
-
Next we had a talk about automated upgrades by Tomáš Votruba, the author of Rector. He told us about tooling you can have in your projects to make it easier to upgrade. For instance, you can use so-called PHPStan collectors to measure type coverage, and ensure it only ever increases. Having type information is very important for static analysis, which Rector relies upon to understand your code and migrate it. Likewise, using PHP configuration instead of YAML configuration can help avoiding mistakes thanks to Static Analysis (which exists for PHP but not for YAML). He showed us a demo of using Rector in the CI to continuously upgrade the code.
-
By Fabien Potencier @fabpot @fabpot
-
I had already seen Kevin Dunglas' talk about FrankenPHP at the "Forum PHP", which also took place at Disneyland the previous month (yes, really), but I decided to watch it again because of how packed with information it was. FrankenPHP provides a new PHP SAPI, that comes with a worker mode, that behaves much like Swoole or Roadrunner. Unlike php-fpm, it does not require a separate nginx container to run: it's built on top of the Caddy webserver, which is written in Go, and is also written in Go. Thanks to Kévin, Caddy is capable of forwarding 1xx HTTP responses it receives from its upstream, which unlocks using 103 Early Hints in PHP, a status code that aims at providing the browser with the urls of CSS files, JS files and other resources it might need before even sending the final response.
-
I had already seen Kevin Dunglas' talk about FrankenPHP at the "Forum PHP", which also took place at Disneyland the previous month (yes, really), but I decided to watch it again because of how packed with information it was. FrankenPHP provides a new PHP SAPI, that comes with a worker mode, that behaves much like Swoole or Roadrunner. Unlike php-fpm, it does not require a separate nginx container to run: it's built on top of the Caddy webserver, which is written in Go, and is also written in Go. Thanks to Kévin, Caddy is capable of forwarding 1xx HTTP responses it receives from its upstream, which unlocks using 103 Early Hints in PHP, a status code that aims at providing the browser with the urls of CSS files, JS files and other resources it might need before even sending the final response.