A Dynamic Frontend with Twig & Zero JavaScript? Say Hello to...
Traditional web apps are back! The Symfony UX initiative - with tools like Stimulus & Turbo - makes it possible to built your HTML using Twig templates but *with* a "single-page experience" and professionally-written JavaScript.
Could we go further? Could we organize Twig templates into reusable units? And could we expose those units so we can load them via AJAX calls or HTTP-cache them?
And, if we did that... would it be possible to write Twig templates that automatically update on the frontend when the user interacts with them? All with zero JavaScript?
Let's go on a journey!
Delivered in English
Check out the rest of talks of SymfonyWorld Online 2021 Summer Edition conference.