Comments

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

Olissipo, to php in Symfony 7.1.0 released (Symfony Blog)
@Olissipo@programming.dev avatar

I particularly like the new Mapped Route Parameters.

/show/{id}/

/show/{id:document}/

For multiple entities, it’s cleaner and more beginner-friendly than using the #[MapEntity] attribute (which is still an option).

And imo it’s a good move to deprecate “not passing the mapping” even for single entities. With the mapping the behaviour is more intuitive and “feels” less magic.

Olissipo, to php in Why PHP Usage Has Declined by 40% in Just Over 2 Years
@Olissipo@programming.dev avatar

That’s a valid opinion. And I admit that at some point you must move to some form of client-side rendering.

I still haven’t (for some admin panels too, and websites), so I don’t feel the need to switch.

Olissipo, to php in Why PHP Usage Has Declined by 40% in Just Over 2 Years
@Olissipo@programming.dev avatar

Aren’t you only saying, indirectly, that server-side rendering is “antiquated”?

Unless you mean that mixing logic with templates is bad, in which case I agree.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • meta
  • Macbeth
  • All magazines