A white paragraph.
Welcome to this week's Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities.
*My opinions, if I present any, will be in bold.
As always, we will start with the official news from Symfony.
Highlight -> “the upcoming Symfony 6.0 version continued polishing some of its new features, such as the new debug:dotenv command, the profiler improvement to display authenticators information, and the support of auto-wiring union and intersection types. In addition, we announced the workshops and the first speakers of the SymfonyWorld Online 2021 Winter Edition conference.”
A Week of Symfony #772 (11-17 October, 2021)
They also announced the second round of speakers for December’s SymfonyWorld.
Second Round of Selected Speakers at SymfonyWorld 2021 Online 2021 Winter Conference
And they updated the UI of their documentation for a better UX.
Redesigning the Symfony Docs website
SymfonyCasts once again looks at Doctrine Relations and using Foundry.
Johan Vervloet wanted to try using Twig components in combination with Stimulus for the frontend of dikdikdik, a hobby web app he maintains. This is what happened.
Trying out Symfony Twig Components
He followed that post up with this one.
My First Symfony Live Component
Sensio University Labs recently attended the API Platform Conference and share their favorite presentations.
8 talks to inspire you from the API Platform Conference 2021
Walter Carabain tells us why we should stop repeating ourselves and leverage service classes in our applications.
3 Useful services for Symfony applications
He also notes that when developing a large scale application the software often needs to perform many different tasks. This can consume too much time. Because you want your application to be fast and offer a great user experience you don’t need to process these tasks immediately. This is where the Symfony Messenger component comes into play.
Using the Symfony Messenger component
ZYXWare wants you to learn about Symfony and its relationship with Drupal.
What is Symfony and Why EOL of Drupal Versions Depend on Symfony?
The October 2021 issue of PHP Architect is now available. In the issue: Cryptography, SQL Schema Design, Security, and more.
null corresponds to PHP's unit type, i.e. the type which holds a single value. It is currently not possible to use null as a type declaration on its own. As per its nature of it being the unit type, it cannot hold any information. This RFC looks to change that.
PHP RFC: Allow null as standalone type
Abstract classes in PHP are used to extend other classes. They’re implemented when more than one class uses the same logic. They are good for readability and for hiding smaller (obvious) details to make our life simpler.
PHP Abstract Classes Explained
Shubhdeep Rajput makes the case for writing secure PHP Scripts.
Best Practices for writing secure PHP scripts
Simon Ugorji notes that nesting a ternary operation is like having multiple if/else statements.
How to write a nested ternary operation
Antoine Sueur proposes that we take an interest in PHPMailer which will allow us to create a functional contact form to receive emails from our users. This article is in french but it’s on Medium so your browser should translate it.
Also on Medium another Antoine says if you handle sensitive data, encrypting files before storing them on a server or cloud storage may be necessary. Let’s see how to encrypt and decrypt files in PHP with the openssl_encrypt function.
This one is self-explanatory.
Matt Glaman reports that with the 0.12.15 release, the ability to detect and report usages of deprecated services should have full coverage!
phpstan-drupal 0.12.15: Improved detection of deprecated service usage
Doken.org provides a quick and enlightening lesson in computer science. Let's branch out a bit, and root ourselves in some Graph Theory.
Trees and Tree Traversal in PHP
Foreign Affairs writes about how States have been the primary actors in global affairs for nearly 400 years. That is starting to change, as a handful of large technology companies rival them for geopolitical influence.
The Technopolar Moment: How Digital Powers Will Reshape the Global Order
Here’s a look at how two of my favorite tools work together.
How Trello Makes Communication Better For Slack Users
Along similar lines Toptal looks at communication within engineering teams.
The Importance of Written Communication for Engineering Teams
Venture Beat reports that Intel open-sourced ControlFlag, a tool that uses machine learning to detect problems in computer code — ideally to reduce the time required to debug apps and software.
Intel open-sources AI-powered tool to spot bugs in code
That's it for this week. I look forward to sharing next week's Symfony and PHP news with you on Friday.
Please share this post. :)
Happy coding Symfonistas!
You can find a vast array of curated evergreen content.