@dgoosens@phpc.social
@dgoosens@phpc.social avatar

dgoosens

@dgoosens@phpc.social

#PHP & #DDD #developer & #architect at Ardennes-étape
#OSS, #Linux & #ethics enthusiast (#BEL) beer fanatic
Father of 2

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dgoosens, (edited ) to random
@dgoosens@phpc.social avatar

For non English speaking coders...
Especially if working in

requires common language & terminology in code and business

Yet, I see many benefits of coding in English....

  • code homogeneity between public front end and internal code
  • easier to find subcontractors
  • English kinda is the standard
  • devs are more used to it
  • pear review
  • "auditability" (For context, my company's lg is FR... but HQ is British)
  • ...

What do you do ?

(Boosts appreciated)

dgoosens, to random
@dgoosens@phpc.social avatar

hi @mvriel
have been looking through the documentation, but could not find the answer

I'm wondering if the phpdocumentor diagram component can be used stand-aloone ?

technically, what I'm trying to achieve is to generate a UML diagram for each of my Bounded Contexts in a project...

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

OK... here is a question ( but other communities are welcome to comment.

When building a decoupled app, do you consider the usage of something like
ClassWithAnnoyingName::class
(not to call the class, but to reference the name as a string and to simply avoid to type it out) as coupling?

IMHO, it is not

  • it is very trivial to replace with its string value if needed
  • it greatly improves DX
  • it greatly reduces errors because of typos

But what do you think ? And why ?

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

Database abstraction layer...

Wondering how many people actually ever had to switch database systems (like from MySQL to PostgreSQL) in PRODUCTION ?

(but other languages are welcome)

dgoosens, to random
@dgoosens@phpc.social avatar

Still looking for usable software
It needs to be visual (no code) and able to handle rather big modules and submodules
Sometimes have the feeling I am the only that still uses

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

saw a colleague of mine coding on VsCode today

so yeah, once you have spent a couple of hours searching and installing plugins (hardest part being to find the good one) it works, kinda...

but it remains a shiny text editor IMHO
definitely missing the power of a real IDE and there is like NO BLOODY WAY I'm leaving for that

granted, launching a project or building an index takes a little time
but it is by far compensated by the productivity it offers

dgoosens, to random
@dgoosens@phpc.social avatar

So if you really have to work with O365 mail and you're on @thunderbird, like I do...

I highly recommend the OWL extension created by Beonex (https://www.beonex.com/owl/)

It is only 10EUR per year, but it runs like a breeze, is easy to setup and not only manages the mails out of the box, it also syncs your calendar and contacts (and even adds Teams 🤮 to your TB if you want)

dgoosens, to random
@dgoosens@phpc.social avatar

so these last days, when I receive calendar invites from colleagues that are forced to use M$365 Outlook, the invites are no longer included in the mails in @thunderbird

Anyone else encountering this issue ? ... and know a work around ?

dgoosens, to php
@dgoosens@phpc.social avatar


now we have the ability to properly type properties and with @Crell & @ilutov 's property hooks RFC, that I hope will pass (https://wiki.php.net/rfc/property-hooks),
I wonder if, at some point, it will become possible to declare properties in an interface....
Or am I the only one who thinks that makes sense ?

dgoosens, to random
@dgoosens@phpc.social avatar

hahaha

dgoosens, to php
@dgoosens@phpc.social avatar

Just had to make sure...
But of course @Crell's Serde package works with readonly properties

THIS IS BLOODY USEFUL WHEN YOU USE IMMUTABLE VALUE OBJECTS IN

Serde is available here:
https://github.com/Crell/Serde

https://phpc.social/@dgoosens/111403012786386524

dgoosens, to random
@dgoosens@phpc.social avatar

So just listenened to @tjlytle's talk about at @tek 2023

Very nice introduction on the subject !
(and love the presentation format... wondering what you used to create that!)

wondering if you know about @ApiPlatform?
It comes out of the box with many of the features you talk about (https://api-platform.com/)

Also, saw a talk about ContractTesting (https://www.youtube.com/watch?v=4xoJmz6bWB4)
Was planning to give it a shot... and wondering if you know about this or have any experience with it?

dgoosens, to random
@dgoosens@phpc.social avatar

hello @phpstan

So I'm bulding my first Custom Extension (excellent documentation by the way https://phpstan.org/developing-extensions/rules)

Wondering if there is a way to use @Xdebug within the rule... Breakpoints appear to be skipped although I know the script executes (and my Xdebug setup works from the CLI) ?

dgoosens, to random
@dgoosens@phpc.social avatar

see a lot of journalist leaving Elmo and giving Bluesky a shot..
would love an invite if anyone has one...

dgoosens, to php
@dgoosens@phpc.social avatar

hello community

so I have been using devilbox container as a base image for years now...
the *-prod version was light and came with all the bells and whistles I needed

Devilproject looks like it has died though... so looking for an alternative base image for php-fpm, ideally with all the "regular" extensions installed

any recommendations ?

dgoosens, to php
@dgoosens@phpc.social avatar


Am I the only one that does not understand this does not at least trigger a warning ?

I mean, I would expect $baz should have been declared nullable (?string) to be correct... Or am I missing something ?

https://onlinephp.io/c/71e55

dgoosens, (edited ) to random
@dgoosens@phpc.social avatar

Major announcement

@heiglandreas broke the Internet !

dgoosens, to random
@dgoosens@phpc.social avatar

I find it very ironic that there now is a universal and open source standard for sextoys (https://buttplug.io/) but still nothing to deal with printers !!!!!

dgoosens, to random French
@dgoosens@phpc.social avatar

This post by @tobiasgies made me think

There’s quite a big community of devs out here
Is there no platform for companies or people to offer temporary workspaces, or even a desk with internet connection, preferably with accurate rating on the quality of the coffee?

https://chaos.social/@tobiasgies/111954449256278361

dgoosens, to php
@dgoosens@phpc.social avatar

I really like what you did there @Crell & @ilutov

#PHP RFC: Property hooks

https://wiki.php.net/rfc/property-hooks

dgoosens, to php
@dgoosens@phpc.social avatar

Remember you can make @Xdebug breakpoints conditional in

saves a lot of time...
and avoids leaving dirty if statements in your code

dgoosens, to rust French
@dgoosens@phpc.social avatar

This looks interesting

Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.

It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions.

Hurl makes it easy to work with HTML content, / SOAP / GraphQL APIs, or any other XML / JSON based APIs.

(Built with powered by )

https://hurl.dev/

dgoosens, (edited ) to random
@dgoosens@phpc.social avatar

to @ian and team (if there is any) who is keeping this place, @phpc, nice and tidy by keeping the infra up to date and by defederating instances

EDIT: Ian just told me there definitely is team
so to @alessandrolai and @Tylae as well !!

You rock !

dgoosens, to rust
@dgoosens@phpc.social avatar

warp looks lie a very sexy app
and it's build in

https://news.itsfoss.com/warp/

dgoosens, to php
@dgoosens@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines