This publish initially appeared on Symfony Station.
Welcome to this week’s Symfony Station Communiqué. It is your weekly evaluation of essentially the most important information within the Symfony and PHP development communities.
This week, we proceed our protection of the struggle crimes occurring in Ukraine and how one can assist. That sparks some cybersecurity protection as properly. There was not a lot Symfony information so I’m including in additional Drupal protection that overlaps with Symfony development.
Take your time and benefit from the gadgets Most worthy for you.
Please notice that hyperlinks will open in a brand new browser window. My opinions will likely be in daring.
As at all times, we are going to begin with the official information from Symfony.
Spotlight -> “This week, Symfony 4.4.39, 5.4.6, and 6.0.6 upkeep variations had been launched. As well as, all the schedule of the SymfonyLive Paris 2022 convention was printed. Lastly, Symfony expressed its solidarity with Ukrainian folks.”
In addition they remind us that “the French SymfonyLive convention organized in Paris will likely be quickly right here! Be part of us on April seventh and eighth for two days of Symfony talks. Common pricing ends on March 14th!”
SymfonyCasts continues its exploration of EasyAdmin.
A current Forbes article notes “over one-quarter of U.S. shoppers haven’t taken any steps to guard their digital/on-line privateness – and which means it’s extra essential than ever for organizations to make sure their software program and functions are as bulletproof as doable towards dangerous actors. Nonetheless, the fast shift to digital and the fast-paced nature of enterprise in right this moment’s post-pandemic world, coupled with the rising and complicated menace panorama, continues to problem even essentially the most superior safety groups.
One thing wants to vary, and one firm is arguing that the business requires a brand new method to safety centered on developers. In any case, developers have turn into the lifeblood of a corporation’s digital transformation journey – however the quicker developers transfer to deliver new functions to market, the higher the possibilities for flaws or safety points inside their code.”
I wholeheartedly agree with this.
Dans français Guillaume Ponty explores Third-party authentication with Symfony.
Heddi Nabbisen has this attention-grabbing tutorial for us:
Andy Blum writes “Following Drupal 8’s formidable overhaul to “get off the island,” the advisable option to create a brand new Drupal website is to make use of composer to handle all PHP dependencies. By now, most Drupal developers can have had an opportunity to put in a brand new module or replace current modules utilizing composer’s
replace instructions, however do you know which you can additionally use composer to run scripts to work together together with your code?”
Griffin Polonus writes “PHP 8 consists of enhancements that present a transparent want to modernize, as
properly as capabilities of different common languages that developers will respect. Due to PHP 8, Drupal 10 can now use instruments that may allow continued progress and enhanced efficiency. Upgrading to PHP 8 will likely be helpful to any website operating on PHP–nonetheless, as a Drupal developer, I’m notably enthusiastic about how this may affect Drupal 10. I’ll spotlight a number of the advantages that apply to many websites, however particularly the way it might apply to Drupal.
Golems states, “Drush (the Drupal Shell) is among the most handy and purposeful assistants for all Drupal developers. Learn on in the event you’re all in favour of studying how Drupal 9 and Drush work collectively, what advantages it has, and the way straightforward it’s to sanitize information with Drush.”
Manish Saharan says, “On this article, we’re going to debate two such Drupal 8/9 utility instruments which have massively simplified and improved the way in which you’re employed with Drupal code, modules, and installations – Drupal Console (leveraging Symfony Console) and Drush.”
As we famous in How Symfony Station was built: an adventurous exploration of layout solutions, the default Drupal admin theme is an eye-destroying abomination. We wrote “Gin is gorgeous compared. It is clear, cool, and picked up with some customization choices.” It was constructed on the inspiration of Claro from one of many lead designers of the Claro & Drupal Design System.
Clayton Dewey expounds upon this with, “I’ve seen, repeatedly, the distinction a clear and trendy web site enhancing interface can have on each the amount and high quality of website content material. When a web site’s back-end is irritating and unappealing to work with, it dissuades the writer from posting.” In a multi-post sequence, he explores the wonders of Gin.
There are quite a lot of design classes to choose up within the sequence. And in the event you’re a brand new Drupal person, classes on methods to use it. It’s excellent for bigger publishers.
Word: Drupal is addressing their usability downside with a model of Claro that will likely be non-experimental for core in v. 10.
We printed our third sponsored article on Symfony Station exploring methods to Implement Code Execution Monitoring in your Symfony apps by way of Inspector. Like all our articles it’s now accessible by way of audio.
All sponsored articles are for merchandise we have now vetted and stand behind. We both use them or would accomplish that in the event that they had been relevant to the Symfony Station website.
Rafael Bernard Araujo explores Area-Pushed Design in and worth object:
Tomasz Dobrowolski covers dependency injection and writes, “whereas it sounds advanced, it’s not as scary because it sounds on the floor. And if used appropriately, it might remodel your code to be cleaner and simpler to work with.”
Marco Aurélio Deleu says, “I’ve been engaged on a brand new Runtime for Bref for some time now and it has been my greatest open supply journey to this point. It has been extremely difficult and an incredible studying expertise. On this publish, I need to run by some key elements that I confronted whereas engaged on this.”
Frank de Jonge exhibits us methods to:
Andreas Heigl takes a have a look at PHP attributes.
Harpreet Kaur notes “Memcache is object storing mechanism which is used to retailer the outcomes of database queries serving to web sites to serve pages quicker. Memcaching course of shops information as key-value pairs in reminiscence in order that it may be accessed later. Will probably be helpful in these functions which rely closely on database queries. Memcaching goes to enhance the efficiency of the applying considerably.”
Ten7 appears to be like at Memcache in Drupal.
Gene Wilburn wanted to construct a light-weight search performance. He writes “As I considered an answer for this small website, I considered grep, the open-source search utility with an extended Unix heritage that may rip by textual content information to seek for phrases or phrases and present them in context.”
Jakub Misek says, “Have you ever heard in regards to the Visual Studio Code for the Web? It is the code editor operating in your browser, permitting you to work together with your native information, information in your GitHub repositories, or information on Azure. Anyplace.
Within the case of the PHP language, it’s only appropriate for fast edits on small initiatives, as a consequence of its limitations. Nonetheless, PHP Instruments for Visible Studio Code is newly accessible for VS Code for the Web. All of the editor options can now be used on this browser-based development atmosphere.”
Alessandro Castellano has a brand new tutorial and says, “you’re going to see how class constructors work in PHP, what occurs with class inheritance, and a brand new PHP 8 characteristic known as “argument promotion”.”
WPGraphQL notes “Organising Finish to Finish checks for WordPress plugins could be achieved in a number of methods (Codeception, Cypress, Ghost Inspector, and so on), however these days, the best approach I’ve discovered to do that is to make use of the @wordpress/env and @wordpress/scripts packages, distributed by the crew engaged on the WordPress Block Editor (a.okay.a. Gutenberg), together with GitHub Actions.”
Frank Pins explores Gitlab pipelines in a sequence of articles.
Please visit our Support Ukraine page to be taught how one can assist kick Russia out of Ukraine (ultimately).
I feel we should always all cease doing enterprise with Russian corporations. Nonetheless, many assume web entry is an exception. At this level, I’m not certain. However Cloudflare is.
Evidently Twitter itself agrees because it has created an onion website for Tor browsers.
And Lumen doesn’t.
Enterprise Beat has a report on the Ukrainian IT Military’s offensive.
Nameless continues its assault on Putin’s minions and lackeys.
Cyber Scoop reviews “NATO nations voted unanimously final Friday to confess Ukraine to their Cooperative Cyber Defence Centre of Excellence (CCDCOE), a development which specialists stated will assist Ukraine combat off mounting cyber threats from Russia.”
The free world additionally must kick up its defensive sport. Three corporations are aiding the trouble.
What gained’t work is the Ostrich method.
One option to defend your website is to dam entry to it by nation. In case you don’t have an viewers in Russia, it is best to accomplish that. We accomplish that we aren’t.
Tawhid has this safety recommendation for us:
For instance of an assault, Nevulo explains XSS. “Cross-site scripting is an assault carried out on web sites, the place an attacker can inject some malicious code or scripts that get executed to change the conduct of that web site.”
Harvard Enterprise Overview’s Stuart Madnick takes a peek at the place this would possibly all lead.
Through Quick Firm “MacPaw’s Julia Petryk talks about sheltering in an underground parking storage, enduring Russian propaganda, and confronting the emotional toll of the struggle.” MacPaw is a Ukrainian company we urge you to support.
Talking of tech corporations:
Listed below are a couple of articles analyzing why Putin’s struggle of terror just isn’t going so properly (except for the truth that most thugs are corrupt, dumb, and incompetent).
And now in additional encouraging information, right here’s a have a look at the spectacular issues coming to CSS. Michelle Barker writes “It’s truthful to say that we’re in a booming period for CSS proper now. As I write this, I discover that many of those new options have some issues in frequent. Sure, they usually assist us write higher, cleaner, and extra environment friendly code.”
Icons are at all times helpful for UI, UX, and web design. Right here’s methods to use Font Superior irrespective of your dev/design stack.
Writing for Forbes, Amir Husain says:
That is it for this week. Thanks for making it to the top of one other prolonged version. I look ahead to sharing subsequent week’s Symfony and PHP information with you on Friday.
Please share this publish. 🙂 Be sure you join our newsletter list at the bottom of our site’s pages. Becoming a member of will get you every week’s communiqué in your inbox (a day early). And follow us on Twitter at @symfonfystation.
Do you personal or work for a corporation that will be all in favour of our promotion alternatives? In that case, please contact us. We’re in our infancy so it’s additional economical. 😉
Extra importantly, in case you are a Ukrainian firm with coding-related merchandise, we will offer you free promotion on our Support Ukraine page. Or if you understand of 1, get in contact.
Preserve going Symfonistas!