🐉Интеграция RoadRunner с Symfony через новый Runtime компонент.
https://github.com/php-runtime/roadrunner-symfony-nyholm
https://github.com/php-runtime/roadrunner-symfony-nyholm
Symfony
The Runtime Component (Symfony Docs)
The Runtime Component decouples the bootstrapping logic from any global state to make sure the application can run with runtimes like PHP-PM, ReactPHP, Swoole, FrankenPHP etc. without any changes. I…
🌼Обнаружение проблем n+1 через лотерейный подход, то есть запускаем проверку не каждый раз, а с некоторым шансом. Также как сделана в Laravel очистка сессий.
https://timacdonald.me/introducing-lazy-loading-prevention-into-an-existing-laravel-application/
https://timacdonald.me/introducing-lazy-loading-prevention-into-an-existing-laravel-application/
Tim MacDonald
Introducing lazy loading prevention into an existing application by Tim MacDonald
Laravel's new lazy loading prevention is fantastic, but depending on the size of your system might be hard to introduce. Here is an approach you might like to try out.
🙌🏻DRY – это про знания. Дублирование кода – это не проблема
https://verraes.net/2014/08/dry-is-about-knowledge/
https://verraes.net/2014/08/dry-is-about-knowledge/
Mathias Verraes' Blog
DRY is about Knowledge
Code duplication is not the issue.
В php давно есть дженерики, реализуемые с помощью статических анализаторов, таких как psalm и phpstan, а теперь появился вот такой пакет, который предлагает использовать дженерики прям на уровне языка. Пакет парсит все классы, содержащие дженерики, и генерирует валидный php класс на их основе.
https://github.com/mrsuh/php-generics
https://github.com/mrsuh/php-generics
GitHub
GitHub - mrsuh/php-generics: PHP generics written in PHP
PHP generics written in PHP. Contribute to mrsuh/php-generics development by creating an account on GitHub.
☠️Несколько советов о том, как правильно делать демонов на php
https://www.youtube.com/watch?v=qGNcEJmulcA
https://www.youtube.com/watch?v=qGNcEJmulcA
YouTube
10 Советов, как сделать хороших демонов - Петр Трофимов (Onliner)
09.12.2017 Minsk Onliner PHP Meetup #1
Слайды: https://www.slideshare.net/petrtrofimov71/10-83859942
Наш чат в телеграмме https://news.1rj.ru/str/onliner_php
Присоединяйтесь, задавайте вопросы спикерам.
Слайды: https://www.slideshare.net/petrtrofimov71/10-83859942
Наш чат в телеграмме https://news.1rj.ru/str/onliner_php
Присоединяйтесь, задавайте вопросы спикерам.
🙅🏻Помогаем гуглу лучше индексировать ваше приложение [EN]
https://tech.trell.co/higher-quality-user-traffic-with-indexing-apis-in-php-e6a36b0f576d
https://tech.trell.co/higher-quality-user-traffic-with-indexing-apis-in-php-e6a36b0f576d
Medium
Higher Quality User Traffic with Indexing APIs in PHP
Ever wondered how you can help Google know the changes in your site and crawl pages as soon as possible?
🧦Как работает опкэш. Объяснение от Никиты Попова
https://www.npopov.com/2021/10/13/How-opcache-works.html
https://www.npopov.com/2021/10/13/How-opcache-works.html