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.”
They also announced the second round of speakers for December’s SymfonyWorld.
And they updated the UI of their documentation for a better UX.
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.
He followed that post up with this one.
Sensio University Labs recently attended the API Platform Conference and share their favorite presentations.
Walter Carabain tells us why we should stop repeating ourselves and leverage service classes in our 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.
ZYXWare wants you to learn about Symfony and its relationship with Drupal.
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.
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.
Shubhdeep Rajput makes the case for writing secure PHP Scripts.
Simon Ugorji notes that nesting a ternary operation is like having multiple if/else statements.
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!
Doken.org provides a quick and enlightening lesson in computer science. Let's branch out a bit, and root ourselves in some Graph Theory.
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.
Here’s a look at how two of my favorite tools work together.
Along similar lines Toptal looks at communication within 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.
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!