Working on a legacy #PHP codebase with this #XML-based framework where the dev had the genius idea of mixing business logic with presentation logic.
Okay, that happens. But each XML fragment is isolated, with no way to inject data into it, so what ends up happening is every single XML fragment is doing db lookups to get data that the parent template already has.
Why is the application slow? Hmmm, what could it be...
So much of the #PHP community relies on @shivammathur’s work, whether you’re using setup-php with GitHub Actions or his Homebrew tap for builds of PHP 5.6 through 8.3-dev. What he does is no small feat, and it helps the rest of us get our jobs done.
No #MongoDB extension for #PHP 8.2 on Windows which puts a crimp in my plans to only run 8.2 on my new dev machine. If PHP is supported on Windows why are the PECL extensions such a mess? Bah!
Ich bin auf Arbeit ja nicht nur Full Stack #Webdev, sondern auch Teamlead. Eine meiner Aufgaben (die ich mir selbst gegeben habe) ist, meinem Team teils die Fundamentals von Dingen zu erklären.
Einfach weil heutzutage (Durch Bootcamps, Tutorials und sonst was) viele in den Beruf gehen und direkt mit #Sass, #Symfony / #Laravel, #Vue / #React etc. anfangen. Ohne #CSS, #PHP, #HTML und #JavaScript im Kern richtig kennenzulernen.
Und jedes Mal, wenn ich eine solche Session hinter mir habe, fühle ich mich einfach gut. Meist egal wie es mir vorher ging, danach ist einfach eine positive Grundstimmung in mir.
Wenn ich irgendwann mal keine Lust mehr habe, selbst beruflich als Webdev zu arbeiten, werde ich definitiv versuchen irgendwo als Lehrkraft reinzukommen. Ich kann mir echt vorstellen, dass das etwas ist, mit dem ich glücklich und alt werden könnte.
I'm going to do a series on https://securinglaravel.com debunking the various "PHP and/or Laravel is Insecure" claims. Because they are getting pretty ridiculous... 😒
Visit our extensive selection of Symfony and PHP tools, resources, and helpful links. https://www.symfonystation.com/Tools-Resources-Links And while you are there please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. :symfony: :php: #Symfony#PHP
SQL Injection and Parameterisation modules are now live on https://practicallaravelsecurity.com! 🥳 Plus 6 new challenges, taking you through the types of SQLi attacks.
Can you beat them all? 😈
I'll send out an email with all the details tonight/tomorrow to subscribers. 🤓 #Laravel#PHP
It's interesting that there's a number of blog posts which seem to assert that folks have had great results using PHP's FFI to speed up some intensive and slow processes using Rust. However, the official docs don't really support this.
"it makes no sense to use the FFI extension for speed"
The @phpfig PSRs should also define the names of the packages that include the interfaces, as well as the name used to indicate implementations of the PSR.
i.e., PSR-17 would include psr/http-factory and psr/http-factory-implementation, so I don’t have to go searching for these names every time.
Welcome to this week's Symfony Station communiqué. It's your review of the essential news in the Symfony and PHP development communities focusing on protecting democracy. We also cover the cybersecurity world and the Fediverse.
Guten Morgen #fediverse ☕
Wir sind das größte regionale Städte-Wiki und momentan auf der Suche nach einem erfahrenen Mediawiki #devops Admin der uns helfen kann unser Setup bei Hetzner auf stabilere Beine zu stellen 🧑💻
Wir brauchen immer mal wieder Hilfe z.B. bei einem Update #php#mysql#mediawiki und sind an einer langfristigen Zusammenarbeit gegen Bezahlung interessiert. Am besten als selbständiger Freelancer oder auch als externer Dienstleister. Bitte teilen!
Content Security Policies may seem like a daunting task, especially when adding one to an existing project - but they don't need to be! Report-Only mode gives you full visibility without any risk, and you can increment policies over time. 🤓 https://securinglaravel.com/p/security-tip-getting-started-with-csp#PHP#Laravel
My first #fediverseBot is finally live! @LaDiaria posts news from the 🇺🇾 newspaper @ladiaria directly from their RSS feed. As bots go, it's really simple but the reason I'm so happy is that's running from my own implementation of an #ActivityPub compatible server made with #Laravel and #PHP. There's still plenty of work to do, but for now, the basics are there and I wanted to test it in the wild.
Yesterday night I added proper hashtag support and autolinking to my #ActivityPub server. I'm still thinking about the best way to handle mentions since the twitter-text-php package supports the @\username format but I need to support @\username@\server
Symfony Station Communiqué - 2 June 2023 (www.symfonystation.com)
Welcome to this week's Symfony Station communiqué. It's your review of the essential news in the Symfony and PHP development communities focusing on protecting democracy. We also cover the cybersecurity world and the Fediverse.