A white paragraph.
Welcome to this week's Symfony Station Communiqué. It's your weekly review of the essential news in the Symfony and PHP development communities. DrupalCon was last week, so there are lots of developments from that Symfony-based CMS.
Take your time and enjoy the items most valuable to you.
Please note that links will open in a new browser window. My opinions will be in bold.
As always, we will start with the official news from Symfony.
Highlight -> “This week, Symfony 4.4.41, 5.4.8, and 6.0.8 maintenance versions were released. In addition, the second beta of Symfony 6.1 was published so you can test it in your real projects before its final release. Meanwhile, the SymfonyWorld Online 2022 Summer Edition conference announced new talks and speakers.
Lastly, a big thank you to all of you who have been following this weekly summary for 800 consecutive weeks, making it one of the longest-running series in the entire software industry.”
Javier Eguiluz continues to update us on what’s coming in 6.1 with:
This item is self-explanatory.
SymfonyCasts announced, “On our old Symfony 5 project, a lot of recipes need to be updated! Including the most important Flex recipe: symfony/framework-bundle. We’ll update this to the latest version and talk about why things changed... like new “env” config, Runtime component & preloading!”
Platform.sh announces, “After the release of Infrastructure Metrics and Observability for the Dedicated infrastructure projects, we are thrilled to announce the immediate availability of this feature for all environments of your Professional projects. A new Metrics tab will now be present on the environment level, to give you insight and visibility over your application, worker and service containers.”
Technology Magazine held an:
Ludovic Frank explains why:
Nicolas Moral writes, “Using Symfony controller without Request, is like riding a bike: it seems complicated at first, in the end it couldn’t be easier.”
Quable team members review several sessions from the recent SymfonyLive in Paris.
Quable at SymfonyLive 2022 (in French)
Also in French, Les Tilleuls Coop says:
The Akashic Seer site is back with:
Azay Karimli is starting a series of posts for Symfony newbies.
Dries Buytaert writes, “Last week, 1,300 Drupalists gathered in Portland, Oregon for DrupalCon North America.
I covered a lot of ground in this presentation, so I broke down my written summary into a three-part blog series. Part 1 below focuses on Drupal 10 updates. I'll be publishing Part 2 and Part 3 later this week, which will focus on Drupal's evolved purpose/vision and Drupal 11 proposed initiatives.”
It’s for me evidently.
Matt Glaman adds:
Droptica notes, “When creating websites on Drupal, as developers, we should try to make our job easier. Managing modules, users, generating code – all these processes can be automated and performed with single commands.’
Sebin Jacob follows up on a tweet from Drupal icon, Gábor Hojtsy with:
Speaking of Gábor, he has this for us.
Daniel Phin says, “This post introduces a completely new way of implementing Drupal hooks. You can finally get rid of your
.module files, eliminating many calls to
\\Drupal with dependency injection in hooks.”
Chris Müller shares his experience with a:
Despite many challenges, Yii Software published a newsletter.
The May issue of php[architect] is out.
Mhammed Talhaouy shares:
Viktor Daróczi continues his series on functional php programming:
Anton Ukhanev opines, “Suggestion for PHP development: forget about the word "array" in human-readable docs, var names, etc. Conceptually, an array is either a list or a map. These two have separate interfaces, since they are consumed differently, and therefore have different types.
Teman Ngoding notes, “Sorting makes many tasks that require accessing or obtaining a specific set of data very easy and efficient. In this tutorial, we will learn how to use the built-in PHP functions to sort various types of arrays.”
Alessandro Castellano shows us program a redirect in PHP.
We use try/catch blocks in PHP to make our programs fault-tolerant or to provide error handling up to a certain point. With try/catch blocks we can gracefully process certain errors that might occur at runtime without necessarily making our application stop.”
Rector PHP has an announcement:
Andrew Savetchuk asks:
Stefano Alletti writes, “PHP Mess Detector is yet another one of those tools that help to keep the code base manageable and clean. It applies certain rules to check the quality of the code. This document is intended as a guide to initializing PHPMD rules on PHPStorm.”
Timo Schinkel makes:
In Brazilian Portuguese, Caio Flavio looks at Command Query Separation (CQS):
Jordi Bassaganas says, “you’ve been assigned a task that requires to do accurate calculations on huge numbers. For example, it could be the case that a bank with millions of customers operating globally wants to find out how much the entire world economy is worth. Well, all you need to know is there’s a PHP library called Money that will help you impress everyone because it supports big integer operations in PHP.”
Kareem Zock takes a look at:
Please visit our Support Ukraine page to learn how you can help kick Russia out of Ukraine (eventually).
The cyber response to Russia’s War Crimes
CyberScoop reports, “U.S. Cyber Command conducted nine “hunt forward” operations in different countries last year, a data point he shared to illustrate why the command’s use of persistent engagement is critical to its success.”
Bloomberg reports on an individual mission:
Euronews reports that “After seven years of tracking and debunking pro-Kremlin disinformation campaigns in the bloc, the EU's anti-fake news agency is now looking even further east in a bid to counter Chinese propaganda.
Two reports from EUvsDisinfo were over the past few weeks released in Chinese — a first for the Task Force. Both were on fake news over the war in Ukraine.”
Forbes reports on:
The Evil Empire Strikes Back
U.S. News and World Report notes, “The British Foreign Office said on Sunday Russia is using a troll factory to spread disinformation about the war in Ukraine on social media and target politicians across a number of countries including Britain and South Africa.”
The Guardian reports that, “Facebook moderators have called on the company to let them take action against users who praise or support the Russian military’s atrocities in Bucha and across Ukraine.”
They also have:
The Record reports, “After knocking out the internet service in Kherson, Ukraine, this weekend, Russian forces reinstated service but routed it through Russia’s network instead of Ukrainian telecommunications infrastructure.”
In news that surprises no one, NPR reports:
And in news that exemplifies the stupidity of the Russian military, Business Insider reports:
GitHub will require all users who contribute code on GitHub.com to enable one or more forms of two-factor authentication (2FA) by the end of 2023.
The Times of Israel reports, “Three young Israelis formerly serving in military cyber units have figured out how to locate your digital footprint — and give you the tools to delete it.”
VentureBeat reports, “A fundamental change in approach is long overdue. Instead of operating with a narrow focus on the ever-changing tactics, techniques and procedures (TTPs) of attackers, enterprises need to place a higher priority on actively safeguarding the assets they’re after. That is the foundational component to data-centric security — protecting data at the core, not from the perimeter.”
They also have:
Leor Hurwitz notes, “Prioritizing data security often comes at the expense of a good UX. To balance client needs with user preferences, product managers must use research, constant calibration, and a dose of creativity.”
Germán Cocca writes, “In this article we're going to take a look at programming paradigms, a fancy title to describe popular ways or styles to organize your programming.”
Laravel News notes, “Lately, I've been getting this question a lot from Laravel developers: "What should I learn/use - Livewire or Inertia.js?" And, of course, the answer is very individual, but let's try to compare them and provide more context for the decision.”
Livewire is the equivalent of Stimulus and Turbo in Symfony. The article below will expose you to Inertia.js.
Via Smashing Mag the awesomely coiffed Josh Comeau writes, “Every now and then, someone will ask for my recommendations on UI frameworks. By “UI framework”, I mean any third-party package that is focused on providing styled UI components. It includes CSS frameworks like Bootstrap, as well as JS component libraries like Material UI or Ant Design.
My answer to this question tends to catch people off guard: I don’t use them, and I don’t think they should be used for most consumer-facing products.”
Oriol Banus goes into “a deep dive to understand the architecture of components, from the simplest ones to more complex elements.
Create components following this three-step process, and ensure you have a well-designed UI element that developers can easily build.”
This is a great article from our acquaintance, Brian Rinaldi.
Kinsta shows us:
Chris Nielsen opines that before long all apps will be cross-platform and not native.
I hope so!
That's it for this week. Thanks for making it to the end of another edition. I look forward to sharing next week's Symfony and PHP news with you on Friday.
Please share this post. :) Also, be sure to join our newsletter list at the bottom of our site’s pages. Joining gets you each week's communiqué in your inbox (a day early). And follow us on Twitter at @symfonfystation. And since it may be turning into Shitter, we are now on Mastodon as well at @email@example.com. Consider joining the @phpc.social instance.
Do you own or work for an organization that would be interested in our promotion opportunities? If so, please get in touch with us. We’re in our infancy, so it’s extra economical. ;)
More importantly, if you are a Ukrainian company with coding-related products, we can offer free promotion on our Support Ukraine page. Or, if you know of one, get in touch.
Keep going Symfonistas!
You can find a vast array of curated evergreen content.