Le mercredi 20 décembre 2023, 16:53:00 CET Ed a écrit :
> Hi Goffi, thanks for sharing.
>
> Is it possible to watch this talk remotely? I see a link on the right that
> says:
> Video only: ud2218a
> <
https://fosdem.org/2024/schedule/event/fosdem-2024-2337-how-i-ve-built-a-web-frontend-for-a-federated-communication-tool-with-brython/>
> But the link just goes back to the announcement page.
>
> If you have any info to share about how you built the user interface, I
> would be interested. Is it just raw html & css? Does it have any UI
> components suitable for reuse in other projects?
>
> Edward
Hi,
As Kiko said, the talk should be live streamed, then available later on video.
I'll explain that in details at the talk, but in short I'm using Jinja2 and Nunjucks and some code to match the differences (notably i18n). I'm using several macros, and I can re-use components (which I've done with the official website).
The huge advantages of this is that you can use the same templates on backend and inside the browser.
My long term goal is also to re-use large part of backend code in the frontend.
Best,
Goffi