A white paragraph.
Welcome to this week's Symfony Station Communique. It’s a weekly review of the most valuable and essential news in the Symfony and PHP development communities.
We are again light on articles this week. We are still in Cape Cod celebrating Oktoberfest. ;) Next week we promise you a large edition.
*My opinions, if I present any, will be in bold.
As always we will start with the official news from Symfony.
Highlight -> “This week, Symfony 4.4.32 and 5.3.9 maintenance versions were released. Meanwhile, we continued polishing the upcoming Symfony 5.4 and 6.0 versions with some bug fixes and new features such as the option to configure log level and status code per exception class.”
SymfonyCasts looks at how an ORM - like Doctrine - makes it easy to fall into a trap where too many queries are made. It's called the N+1 problem. They explore how to see it and *fix* it by joining across a relation in a custom query.
Doctrine has 4 different types of relations: ManyToOne, OneToMany, OneToOne and ManyToMany. But... you could argue that there are really only 3... or even 2! The Casts crew looks closer at the *true* number of unique relationship types.
Luke Jennings provides the low-down on CloudWatch logging with Symfony and AWS.
How to enable CloudWatch logging with Symfony on AWS
Wooter Carabain looks at interface instances in this article.
We just ran across this article and it's a solid position from Code Enigma.
Tips to improve our PHP are always welcome. Here are ten good ones from Smaine Milianni.
And we all want to make our PHP code faster. Right? Ajay Kapoor has the dos and don’ts of how to approach it.
I am going to get up on my Frontend soapbox here. This is important. Follow Edan Ben-Atar’s advice regarding the overuse of divs in your HTML.
Semantic HTML Guide – 10 Alternatives to Using Divs
From Tech Republic: “Backed by industry leaders GitLab, VMware and Sourcegraph, Gitpod created an open-source project to bring browser-based development to VS Code free from Microsoft's control”.
Gitpod releases browser-based Visual Studio code to get around Microsoft.
On Medium, Mertcan Arguç has a useful article comparing GraphQL and REST.
Graphql vs REST: How To Choose One Over The Other
You don’t see many articles on YAML so enjoy this one.
That's it for this week. I look forward to sharing a larger set of 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.