Symfony Station Communique - 17 September 2021
Tags: symfony, php, docker, tailwindcss
Published: 2021-09-17 20:08:15

Welcome to the first Symfony Station Communique. It will be a weekly review of the most useful and important news in the Symfony and PHP development community.

This was originally posted on Symfony Station, the source for Symfony News.

https://symfonystation.godaddysites.com/symfony-station/f/symfony-station-communique---17-september-2021?blogcategory=PHP


Symfony


Let's start as we always will with the official weekly post of everything new from Symfony.

Highlight ->

"This week, the upcoming Symfony 5.4 version optimized PHP preloading, improved the Web Debug Toolbar to show roles of the logged-in user, added support for resetting container services between two AMQP messages to avoid memory leaks, and removed the experimental flag from RateLimiter and Runtime components."

A Week of Symfony #767 (6-12 September 2021)

https://symfony.com/blog/a-week-of-symfony-767-6-12-september-2021



Alexandre Daubois published this super useful guide of Symfony components. Bookmark this one.

Ultimate Guide to Symfony Components (2021)

https://alex-daubois.medium.com/ultimate-guide-to-symfony-components-2021-7ac9908f8aa2



If you subscribe to SymfonyCasts, be sure to check out the one exploring entity broadcasts that come with the Symfony UX Turbo Mercure package. Personally, I am excited about Stimulus and Turbo. I think they will have a huge impact on the framework's success.

This week on SymfonyCasts 

https://5hy9x.r.ag.d.sendibm3.com/mk/mr/GVxhRytWLkGw_RTa-HoBhTW3QXJy778W0IhKteKLGlAaZeMl6Txu1G6FY97uLlVuIB_enSJv0qF0H9L42LaHXg8JRXTwD3aTl49DOC3qloU9lb1g


On August 19, 2021, Fabien Potencier officially announced the end of maintenance for Swiftmailer. Swiftmailer is being replaced by the symfony/mailer package. Doeken.org looks at how you can use it outside of Symfony.

How to use symfony/mailer without the Symfony framework

https://doeken.org/blog/using-symfony-mailer-without-framework



According to W3Techs, PHP is used by around 79% of all websites. It’s eight times more popular than ASP.NET, its nearest rival in server-side programming languages. Kinsta looks at its popular frameworks including Symfony of course. 

The Most Popular PHP Frameworks to Use in 2021

https://kinsta.com/blog/php-frameworks/#what-are-the-best-php-frameworks-in-2021


This one is self-explanatory. ;)

Symfony plugin for PhpStorm has just got support for PHP8 Doctrine metadata attributes.

https://plugins.jetbrains.com/plugin/7219-symfony-support?_ga=2.70528784.1043544557.1631847814-1395392826.1631242141&_gl=1%2A1dtnrdf%2A_ga%2AMTM5NTM5MjgyNi4xNjMxMjQyMTQx%2A_ga_0WQ2ZF5VGT%2AMTYzMTg0NzgxMy4zLjEuMTYzMTg0Nzg5NS4w



Sararellano published this quick look at how to add new filters and functions in Twig.

Custom Twig Filters and Functions

https://sararellano.medium.com/custom-twig-filters-and-functions-7a25ef6cfd86



PHP


As mentioned above PHP is very much alive and thriving. arsTECHNICA has the details.

PHP Dominates Server-Side Languages

https://arstechnica.com/gadgets/2021/09/php-maintains-an-enormous-lead-in-server-side-programming-languages/



One of my favorite technical writers covering PHP is  @brendt_gd. He explores how read-only properties have evolved.

A Look at PHP 8.1 Read-Only Properties

https://stitcher.io/blog/php-81-readonly-properties


In this video from JetBrains TV, you can learn how to extract code to interfaces and how to create dedicated classes to keep classes from knowing too much.  

Refactoring with PhpStorm: Last Episode [video]

https://www.youtube.com/watch?v=NymNgIJS7jk



Other


Explore this hot CSS framework.

Tailwind CSS: A Utility-First CSS Framework and API for Rapid, Responsive Design

https://www.blogarama.com/seo-and-sem-blogs/1310186-optimize-prestashop-for-increased-seo-conversions-blog/40697602-tailwind-css-utility-first-framework-api-rapid-responsive-design


I am going to step up on the soapbox here.

There has been a bit of a "controversy" over Docker (a commercial enterprise, not open-source software) daring to try to charge multi-million dollar companies for its products. It is doing so to raise money so it can improve its products for all of its users. This includes the vast majority of them who will still be able to use Docker for free. 

People, pay for the products you use. Either with subscriptions or donations (in time or money). Don't be an over-privileged codeflake.

Stepping down now.

This article looks at Docker's rationale for the change.

Behind the Scenes of Docker Desktop 

https://www.docker.com/blog/the-magic-behind-the-scenes-of-docker-desktop/


In an extensive article, Jean Yang examines how are developers supposed to manage and coordinate fast-moving, heterogeneous systems — and free themselves to build. 

The Case for ‘Developer Experience’ 

https://future.a16z.com/the-case-for-developer-experience/


Innovating today is much more than just writing code. The tools we use also play a significant role in doing our best work, and it’s GitHub’s stated mission to provide that experience. This is why they are excited about GitHub Codespaces among other things. 

What’s new from GitHub Changelog? August 2021 Recap

https://github.blog/2021-09-13-whats-new-from-github-changelog-august-2021-recap/


That's it for this week. We look forward to sharing next week's Symfony and PHP news with you on Friday.

Happy coding Symfonistas!