derrabus

@derrabus@phpc.social

Likes code that has the age of a good whisky. :symfony: :doctrine:

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

derrabus, to random

I'll be presenting at . See you next week in London!

derrabus, to random

The Doctrine project has released new major versions of their most popular libraries, ORM 3 and DBAL 4.

https://github.com/doctrine/orm/releases/tag/3.0.0
https://github.com/doctrine/dbal/releases/tag/4.0.0

Thanks to everyone who helped shaping the future of Doctrine.

greg0ire, to random
@greg0ire@phpc.social avatar
derrabus,

@rskuipers @greg0ire The USP of UUIDs is that you can create them in userland before the entity manager even knows about the record that you're about to persist. A UUID generator provided by the ORM feels like it will always be too late in the whole process to be really useful.

heiglandreas, to random
@heiglandreas@phpc.social avatar

One of my main issues with PSR7/15 is that the controllers return a ResponseInterface.

I'd rather have the controller return a DTO that is then used down the pipeline to be converted into whatever the request requested via their Accept-header. I don't want to have to take care of that in each and every controller...

I think I should write something longer about the why and what... 😕

derrabus, (edited )

@heiglandreas Neither PSR-7 nor PSR-15 has an opinion on what a controller is and what it returns.

derrabus,

@heiglandreas The innermost request handler is where the standard ends and your framework begins. It is not a controller.

The feature that you seek is simply out of scope of the PSR-15 standard.

derrabus,

@heiglandreas I know a framework that provides what you seek, but that framework does not implement PSR-15. 😬

jrf_nl, to random
@jrf_nl@phpc.social avatar

Sometimes I just want to slap someone...

"You're not objective as you will benefit from funds collected"...

Seriously ? I've been contributing to the project for over 8 years without getting a penny.
I could have just let the project die, but I recognized that a LOT of people depend on it (which includes me), and decided to step up, even though I'm strapped for time as it is.

Oh well, I guess assholes will be assholes.

derrabus,

@jrf_nl I've witnessed that very person being a jerk on multiple occasions now. Move on and don't feed the trolls. ✌🏻

derrabus, to random

Did you attend my talk "How much database abstraction do I need?" at ? Here are my slides: https://slidr.io/derrabus/how-much-database-abstraction-do-i-need

welcomattic, to Symfony
@welcomattic@phpc.social avatar

You are at and you want to adopt the next cute dressed?

Just look for the guy who’s holding it @jacquesbh!

Or reach https://sylius.elephpant.com/

🐘

derrabus,

@welcomattic I want one! 😍

derrabus, to random

Symfony's new Terminal component.

image/png

derrabus,
derrabus, to random

After two years of development, we have released version 7 of the Symfony framework. A big shoutout to all contributors that made this release possible! 👏

https://symfony.com/7

derrabus, to random German

Alles Gute zum Geburtstag, @supergarv!

Schrank, to random German
@Schrank@phpc.social avatar

Hi! I'm currently using #[ArrayShape([...])] in my project which is a public library. This is a phpstorm annotation to tell the IDE which array keys exist. How does PHP handle this? If the class does not exist? I assume it is just ignored? Is this default behaviour? Can't find it in the docs.

derrabus,

@Schrank Using non-existent attributes is fine. That being said, there are PHPDoc types with broader tooling support than those proprietary JetBrains attributes.

derrabus, to Symfony

Yesterday at , I showcased some of the features our contributors developed on the road to 7 and explained how you can upgrade your apps.

https://slidr.io/derrabus/hello-symfony-7

derrabus, to random German

Habt ihr meinen Vortrag auf der Berlin gesehen und euch gefragt, wann ich endlich mal die Folien hochlade? Habe ich gerade getan. Besser spät als nie. 😓

https://slidr.io/derrabus/wie-viel-datenbankabstraktion-brauche-ich

derrabus, to random

Goodbye Doctrine Annotations. Symfony 7 won't support them anymore as announced at Berlin.

derrabus,

@Skoop Do it! It's the future! 🚀

ramsey, to random
@ramsey@phpc.social avatar

I’m really excited about this PECL package I’ve been working on. I’ve been learning a lot about C programming and PHP internals.

Thanks to all who have helped! @remi @mlocati @derickr @nielsdos

https://pecl.php.net/package/ecma_intl

derrabus,

@ramsey How does that extension relate to the Intl extension that is bundled with PHP?

derrabus,

@ramsey So, similar feature set, but with a standardized interface? Anyway, sounds like a fun pet project for learning how to build php extensions. 🙂

derrabus, to Symfony

Are you using 's PSR HTTP message bridge? We have integrated it into the monorepo and will synchronize its releases with the framework. This means that we will bump from 2.3 to 6.4 in November.

https://github.com/symfony/symfony/pull/51100

derrabus, to random

It's done. Symfony 7 won't support Doctrine Annotations anymore. PHP's attributes are the future.

derrabus,

@Skoop Why though?

derrabus,

@Skoop Then try to familiarize yourself with attributes. They are in any way a worthy successor to Doctrine Annotations.

That being said, the fact that Symfony dropped them does not mean that you cannot use them anymore for your own custom annotations. Everybody is allowed to do the move at their own pace and everybody is allowed to decide to not do the move at all.

derrabus,
  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • JUstTest
  • All magazines