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..
Kinda forgot how much fun it was to write code stitching map tiles together, and also how easy it was. Currently at 82 lines of #PHP. Once finished it will be a new package, as the #golang has some massive glaring bug in it that took me 6 years to find. Sprinkling some threads and #AMQP over this once it's done. The home clusters fans will sing once more
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
It's nice to see PHP thriving again under the @thephpf. After the efforts in the past and the latest hires I think the development of the #php language is doing great.
What I'd love to see now, is some focus on:
Marketing: Maybe starting with a modern PHP.net website to get rid of the „PHP is dead“ image and/or more tech content on social media.
Sponsorship for important PHP tools and extensions like Xdebug, PHPStan, PHP CS Fixer, PHPUnit, Rector, to name a few.
I wrote a little blurb about my new found fondness of testing in PHP. Previously, almost a decade ago, getting tests to work was a pain. Golang was such a breath of fresh air.
Today, in 2024, testing on PHP is good actually if you use Pest
Hi fediverse. My name is Nishiki and I’m a web dev with 15+ years of experience. I’m making myself available as a mentor for one or two motivated individuals looking to land their first junior engineering position. I’m happy to be able to say over the past few years, I’ve mentored 4 wonderful people who have all managed to land their first tech jobs.
Please email me at hello@nshki.com if interested. A boost for reach is much appreciated!
#php types, does the built in server count as a CGI/fastCGI SAPI ? Trying to debug an error that simple says "File not found" with no trace of which fileis missing & I wanted to eqasily enable config option with .user.ini etc ...
I can't deal with languages with optional semicolons! I like languages without semicolons, but when they're optional, especially if they feel "C-like", I always end up adding semicolons to some lines even when I try to write in a semicolon-less style. I'm writing some #kotlin now and I decided to just use semicolons consistently because the alternative is seemingly to use them inconsistently.
Strangely, this isn't an issue I have in #golang. I do have it in #rust however.
@mort I have the same issue going from #PHP to #Kotlin. Though not having it in Rust is weird. It's a semicolon language aside from returns, no? Or is it the returns that bug you?