I love Symfony UX. And last week during Symfony World Online, I had the pleasure to talk about it and reveal several new things that we're super excited about!
Note
To get all the details, we've made the Symfony UX: New Components, Live Twig & More Updates available for anyone to watch free.
But first, What is Symfony UX? anyways? I've come to this short definition. It's (1) a Stimulus integration with your app & (2) a plugin system for extra Stimulus controllers to solve common problems, like rendering charts, cropping images and more.
18 months after Symfony UX was still released, we're adding new UX packages to solve new problems. In fact, we've just released four new components:
- symfony/ux-react: render React components (and pass props) from Twig
- symfony/ux-autocomplete: transform
ChoiceType
andEntityType
into Ajax-powered autocomplete fields - symfony/ux-notify: send native browser notifications from PHP via Notifier
- symfony/ux-typed: a delightful library that... types!
But, as much as I love Symfony UX, I think we've done a poor job talking about and promoting it. After all, JavaScript tools are meant to be seen and played with!
Enter: ux.symfony.com
To solve this, we've just launched https://ux.symfony.com: a playground for
touching and sampling each UX component. See what it feels like to work inside
a or send real-time page updates with Turbo! Try out the
Ajax-powered autocomplete component, see a React component rendered in Twig
or try the Image Cropper in real life.
One of the most interesting sections is about Live Components: a "Swiss army
knife" library that allows you to create highly-interactive interfaces with zero
JavaScript. We've already released several demos that show the power of this
component, including rendering CollectionType
forms (with add/remove buttons),
"dependent form fields" and real-time form validation entirely by writing
PHP and Twig: no custom JavaScript needed.
The new ux.symfony.com site itself is also open source and written using all of the UX tools. It's another great way to see real code behind solving real problems.
Have fun!
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

Symfony 7.2.6 has just been released. Here is the list of the most important changes since 7.2.5:
bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)
bug #60267 [C

Symfony 7.3.0-BETA1 has just been released. Here is the list of the most important changes since 7.2:
feature #60232 Add PHP config support for routing (@fabpot)
feature #60102 [HttpFoundation] A

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:
June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

Contributed by Kevin Bond in

Symfony 6.4.21 has just been released. Here is the list of the most important changes since 6.4.20:
bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)
bug #60268

Contributed by Nathan Page in

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:
June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe