marmelab, to php
@marmelab@mastodon.social avatar

🎉 Exciting news! Marmelab is sponsoring the API Platform Conference 2024, the flagship event dedicated to the API Platform framework!

Join us for 2 days of talks by leading experts in , & .

📅 19 & 20 September
📍 Lille, France

Learn more: https://api-platform.com/fr/con/2024/

@cooptilleuls

mobileatom, to random
@mobileatom@flipboard.com avatar
mobileatom, to random
@mobileatom@flipboard.com avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
sebastienmonterisi, to random French
@sebastienmonterisi@phpc.social avatar
somnambula, to Symfony
@somnambula@det.social avatar

@dunglas couple of days ago there was PR for 2.7.17 release of api-platform/core, which failed all tests in CI, but still was merged and broke a lot of CI/CDs including the one in my project. Literally any composer update. Any help needed?

💡api-platform/core contribution guideline:
https://github.com/api-platform/core/blob/main/CONTRIBUTING.md

🛠 github issue:
https://github.com/api-platform/core/issues/6226

dunglas,
@dunglas@mastodon.social avatar
phpugmrn, to Symfony German
@phpugmrn@phpc.social avatar

Additional rules for phparkitect/phparkitect for and

https://github.com/atournayre/phparkitect-rules

phpandcigars, to php German
@phpandcigars@chaos.social avatar

I think the introduction of attributes in was a big mistake. I worked on a project lately, where some people decided that we use in combination with .

This is not a rant against neither of these projects, but we ended up having attribute declarations in entity classes that are way longer than the entity itself.

It is strange, that all the principles just don’t apply any more if a statement starts with an # …

Is this the new normal now?

appsinet,

@phpandcigars we had a similar discussion in our team. As we work with hexagonal architecture, we decided to move all infrastructure attributes to dto's in the infra layer, and try to keep our domain or application classes free of them. And if we need domain validations, instead of making them in attributes we put them in constructors, for example. That way, we take profit of attributes on one layer, but we keep the rest "clean"

alessandrolai,
@alessandrolai@phpc.social avatar

@appsinet @phpandcigars this is probably the point. you're probably exposing your ORM classes directly to your API.

This may seem practical, but in reality you're soon gonna regret it:

  1. you don't own your entities: those are Doctrine classes, which the ORM istantiate itself, even skipping their constructor; use them to map to your DB, not much more!

  2. you bound your DB definition to your API definition: whenever you'll want changes, you'll be stuck or creating cascading/unintended changes

juststeveking, to random
@juststeveking@phpc.social avatar

I will be speaking at PHP UK next year about how to leverage @ApiPlatform as a Laravel developer 🧙‍♂️

Fancy coming along?

https://www.phpconference.co.uk/

bitexpert, to python German
@bitexpert@rheinneckar.social avatar

The fairytale of legacyland! – want to know more? Holger und Boas haben in Lille ihre Erfahrungen bei der Migration des Backend-Teils einer Legacy Single Page Application auf Symfony und API Platform mit euch geteilt.

Ihr möchtet mehr über ihre Zeit bei der erfahren? Die beiden haben einen tollen Artikel für unseren Blog geschrieben. Check it out! https://blog.bitexpert.de/blog/api-platform-con-2023

video/mp4

pierstoval, to random French
@pierstoval@mastodon.social avatar

Ok, current state of SvelteAdmin (https://github.com/Orbitale/SvelteAdmin).

I think I like it :)

What I think is good is that I'm taking the good things from EasyAdmin (like admin config and fields definitions) and the good things from (generic state providers/processors) and I think I succeeded in making everything abstract.

Like you could use forms manually without the CRUD system, you can extend the AdminLayout without any "dashboard" config, etc.

pierstoval,
@pierstoval@mastodon.social avatar

It's like we're back in EasyAdmin 1 and 2 : since Svelte is only used as a template rendering engine, all the logic resides in Typescript (or Javascript in the future) classes that you instantiate anad configure, and all the templating is separated in order to be manually reused without the whole admin system (contrary to EasyAdmin 3 and 4 where it's really hard to reuse templates without the whole admin).

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

Just had the time to catch up a little on @ApiPlatform conf 2023...

Excellent talk by @vincentchalamon about & and the integration with &

Vincent very clearly explains the core principles and the history behind these technologies before showing how «easy» it is to setup with

Talk will be available soon on the @cooptilleuls YouTube channel (and possibly in English)

https://www.youtube.com/@coopTilleuls

dgoosens, to random
@dgoosens@phpc.social avatar

more from the brilliant mind of @dunglas

in the article below Kevin describes how to optimize docker builds and reduce their environmental footprint [and financial impact]

https://dunglas.dev/2023/08/6x-faster-docker-builds-for-symfony-and-api-platform-projects/

afup, to random French
@afup@mastodon.online avatar

Nous vous souhaitons une belle fin de conférence si vous êtes à l' Conference à Lille ! Pensez à vous arrêter sur notre stand : L'AFUP et l'API Platform Con vous permettent d'aller au Forum PHP 2023 au meilleur tarif dans 3 semaines. Allez dire bonjour à notre équipe pour tous les détails.

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