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 Portland was this week, so there was lots of news about Drupal 10. There was plenty from Symfony as well.
Take your time and enjoy the items most helpful 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 development focused on the upcoming Symfony 6.1 version, finishing some new features for it and polishing its already merged new features.”
There were two release announcements:
Javier Eguiluz continues to update us on what’s coming in 6.1 with:
This item is self-explanatory.
SymfonyCasts announced, “We’ve got a FRESH tutorial for you this week: the one where we upgrade our Symfony 5 app to Symfony 6.... without breaking anything!”
Speaking of SymfonyCasts, this week we will toot our own horn as the saying goes.
Consider joining the @phpc.social instance. The home to your toots does not offer reach (yet), but it does offer authenticity and civility. More on this at the bottom of this communiqué .
Plus, it’s elephant-like. ;)
Back to our article, it explores and reviews SymfonyCast’s “Harmonious Development with Symfony 6” tutorial course in detail. Best of all, the course and the review are free. They are a fantastic way to introduce yourself to the Symfony programming framework and the official learning platform.
Exploring the Symfony Ecosystem on Flipboard.
Grégoire Hébert notes, “If you happen to read the service tag mechanism in the Symfony documentation, you'll discover that any service can be defined along with a tag.
Service tags are a way to tell Symfony or other third-party bundles that your service should be registered in some special way.”
Have you ever heard of Contao? If the answer might be "No", we are about to change that now.
But, if you read these communiqués regularly, the answer is yes. ;)
Acquia has a new tool for monitoring the transition to 10.
Lullabot looks at:
Verity-Thinks writes, “A content management system (CMS) for editors that generates a static site optimized for speed and security? Why not! Many static-site generators still require technical knowledge and/or developer intervention. So, the idea of offering our clients a Drupal CMS to manage their site was definitely enticing. It was especially attractive given we could (comparatively) forget about security for the resulting site.
Inspired by emerging WordPress-as-a-Static-Services, the team agreed to explore and build a Drupal-as-a-Static-Service proof of content (POC) for some of our existing Drupal sites.”
Centarro says, “While many Drupal developers have at least some eCommerce experience, the number of people in our community who make it their primary focus is rather small. This isn't surprising, given Drupal is most often used as a CMS, not an eCommerce platform. However, it does mean that when you encounter an eCommerce opportunity, you may not be making the most effective pitch you can to win the merchant's business.
One way to improve your pitch is to make sure you're using the same vocabulary to describe eCommerce features and concepts as the rest of the eCommerce industry.”
Continuing with eCommerce, Khrystyna Oliinyk shows us:
Matt Glaman writes, “I recently did a deep dive into command authoring with Drush, which is where I discovered two amazing new features: auto-discovery of commands via autoloading and the addition of attributes for defining your commands.”
Gary Clarke has a YouTube series on building a Microservice with with Symfony Framework (version 6). He says, “In this introduction we'll look at microservice architecture and the benefits of its use.”
The PHP Foundation provides its first roundup of its efforts to maintain, improve, and grow PHP.
Simply Stef continues her series of articles called PHP 101 Fundamentals. It includes this helpful one.
Rahoul Gohil writes, “In a previous article, I got a good response about the mistakes that people made in PHP. There I forgot to mention the most common mistake made by many developers out there. They write nested queries inside the while loop of PHP.”
Lucas Pereyra notes, “PHP __sleep and __wakeup methods are magic methods (methods that PHP will invoke during special moments or cases) that PHP provides for dealing with serialization/deserialization of class instances (objects) during runtime. Serializing an object basically means creating a string representation of that object, so that it can be temporarily stored or saved (e.g. dumping it into a text file) and restored later.”
Abdlrahman Saber wants you to:
Viktor Daróczi continues his series on functional PHP programming with:
Freek.dev says, “PHP is a wonderful dynamic language that's capable of many cool things. I recently stumbled upon something quite fantastic that I want to share with you.”
Doeken.org notes, “The Middleware Pattern allows you to easily change the input and output of an action.”
Sanasar Yuzbashyan writes, “we will look on how we can add a very powerful dd() function to any PHP project in just a few steps. I think you will agree with me that this is much more convenient than var_dump() or print_r().”
Boris DeBot explores installing WSL2 for the LAMP stack.
And we have this announcement:
Matthias Noback says, “I was tweeting something about having separate "DDD" and "ORM" entities in a project in a project, and that I don't understand this. There were some great comments and questions, thanks a lot for that! To be honest, I understand more about it now. In this article I'll try to provide some more information about this.”
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
NBC reports how:
Montana Public Radio asks:
And The Verge asks:
The Guardian shows how:
Wired reports that:
The Evil Empire Strikes Back
Axios covers this announcement:
This ZDNet article shows Evil is evil, even to itself.
VentureBeat reports that:
TechRadar reports that:
GitHub says, “Do you worry that a CVE will hurt the reputation of your project? In reality, CVEs are a tracking number, and nothing more. Here's how we think of them at GitHub.”
Inc. opines, “Keeping your networks secure protects us all.”
I just bought Mozilla’s VPN this week, so of course, I ran across this afterward.
TechCrunch reports that:
Taylor Hunt has this fantastic article:
If you read the featured item you will find the article below is one I definitely need to read. ;)
VentureBeat also reports that:
By the way, Joe Rogan, if you are reading this, hello and fuck off!
The Overflow writes, “Are the robots coming for your job? You’ve heard this question before (we’ve even asked it before). But in 2022, with AI increasingly ubiquitous in the lives of most coders, the issue feels more pressing.
Given the explosive progress AI has made over the last few years, it might seem like only a question of time (or data) until its mastery over complex, nuanced problems clearly outstrips our own. From Go to poker to StarCraft II, AI has bested humans in plenty of arenas where we were once uncontested champions. Is the same true of coding?
Amplitudo looks at the MVC pattern. Which you may be familiar with.
Grant Horwood goes into detail on:
As we mentioned in the Featured Item section, Endgaget says, “We may not yet know exactly what Elon Musk’s takeover of Twitter means for the platform, but one Twitter alternative is already booming as a result of the news. Mastodon, the open-source social media service which bills itself as the “largest decentralized social network on the internet,” has been "exploding" since Musk's acquisition, according to its founder.”
There is good news for us web programmers in another VentureBeat item.
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 or Mastodon 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!