nrw.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Wir sind eine freundliche Mastodon Instanz aus Nordrhein-Westfalen. Ob NRW'ler oder NRW-Sympathifanten, jeder ist hier willkommen.

Serverstatistik:

2,8 Tsd.
aktive Profile

#php

112 Beiträge92 Beteiligte7 Beiträge heute

I think I won't bother anymore with writing (bash) shell scripts that are longer than a few lines. I find the syntax too unintuitive and there are better programming languages like PHP that produce more readable code.

In the last two hours, I translated a bash shell script with ~250 lines to a PHP CLI script. The latter is nearly 400 lines long but definetly more readable and it also has more user-friendly output.

1/2

#Shell#ShellScripting#CLI

Sie haben #PHP "entwickelt" 🤦

Frameworks und Bibliotheken wurden ja einmal geschaffen, damit man nicht alles immer wieder neu schreiben muss. Okay.

Jetzt kann ich also "native PHP" nutzen. Als Paket in einem PHP-Framework, welches auf PHP basiert und in dem man an jeder Stelle gerne auch einfach "native PHP" nutzen kann und darf.

Bald weiß wirklich niemand mehr, wie man irgendwas "from Scratch" entwickelt.

#Coding #PHP #Laravel

laravel-news.com/nativephp-v1

Fortgeführter Thread

We created an Processor with ProcessorInterface and TobicSubscriberInterface. But we fall down to the error that the message didn’t have a property enqueue.processor. And I don’t know how to solve this problem.

Do your have any idea how to solve that problem?
2/2

Hi my fellows,

I need some advice in configuration of enqueue/enqueue-bundle.

We have an legacy system with PHP 8.0, Symfony 4.4 and enqueue/enqueue-bundle 0.10.15. It isn’t possible to update the system with all the different versions and it is also a end-of-life system.

We must configure a consumer who should consume message with a special topic from an RabbitMQ.
1/2

I need your point of view about a login method.

On pages.casa, I want to add the possibility to edit/create blog post directly in the browser (simpler than FTP/SFTP file transfer).

To avoid users to manage a password which could differ from their FTP/SFTP account, I'd like to propose to log in with a link sent by email:

  • User opens the login page
  • Enter her/his email associated to the account.
  • System sends a one shot login link available 20 minutes
  • User open the link with her/his browser and confirm to use it to connect.
  • Access to back-office is done
pages.casaWelcome on pages.casa

It feels good to finish things. Here's an ascetically simple social website in about 1K lines of HTML/CSS/JS/PHP (including my RetroV JS rendering library for the UI). Uses SQLite with two tables for the DB.

Piecing together the browser API methods to make image thumbnail files and uploading them was arcane as heck...but it's so cool that it's possible! 🖥️

ratfactor.com/repos/famsite/

ratfactor.comfamsiteA super tiny social site for families