The Payload May 9, 2024 Explore this week's edition of The Payload, which features the latest developments in the Symfony, Drupal, PHP, Cybersecurity, and Fediverse communities. #symfony#drupal#PHP#cybersecurity#fediverse
Looking for new contract opportunities to accelerate #php development teams and modernize PHP applications.Have a need? Get in touch today: http://sarah-savage.com/contact/#fedihire
Currently working on a rewrite of an old application (PHP 5.6, was probably written in an even earlier version) by building a new one in PHP 8.3 and migrating all the data across.
I don't usually recommend rewrites but occasionally it's more cost-effective than trying to fix really old code.
Even though I work with legacy code every day, the changes in 8.3 (and libraries that require it) make life so much nicer.
An instance of a popular CMS is used for a website. While analyzing I'm coming across a a table in it's MySQL database where a column called "deleted" is defined as such:
deleted` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted‘
🤦♂️
There should be a license allowing allowed to write software used by someone else. Like with drivers licenses it needs a points system for violations and license revocation. #WebDevelopment#PHP#MYSQL#SQL
You know why PHP is still around? Because it's fucking simple.
The levels of abstraction in Web Frameworks like React/Angular or ASP.NET Core is a little silly. You have to navigate through 4-5 files of logic before you actually get to the rendering of a page.
PHP?
<?php echo "Hello World!"; ?>
If dotnet could give me a syntax and framework as simple as PHP, I think it'd dominate. Just one file (index.cs), not a zillion files and boilerplate.
Today I installed #php 8.3 on my VServer ( #Alpine Linux) and tried to switch to that version with ln -fs /usr/bin/php83 /usr/bin/php .
Previously I used php 8.2.x
The problem is, #Friendica 's Admin Page says this:
The phpinfo() included in the admin area also says 8.2.18 and I have deleted the php-fpm82 service and added and started the php-fpm83 service and also restarted the php and apache and mariadb services and rebooted the server..