I'll do a talk on Brython at FOSDEM

86 views
Skip to first unread message

Goffi

unread,
Dec 20, 2023, 5:06:58 AM12/20/23
to bry...@googlegroups.com
Hello,

For those attending FOSDEM, I will be giving a talk in Python devroom about my experience implementing the web frontend of my project (Libervia, a universal communication tool, based on XMPP), with Brython.

FOSDEM is one of the most important FOSS developer conferences in the world. I hope it will bring some interest in Brython.

More details at https://fosdem.org/2024/schedule/event/fosdem-2024-2337-how-i-ve-built-a-web-frontend-for-a-federated-communication-tool-with-brython/
You can check Libervia at https://libervia.org .

Regards,
Goffi


Pierre Quentel

unread,
Dec 20, 2023, 8:17:55 AM12/20/23
to brython
Congratulations Jérôme for having been selected, and thanks for the promotion of Brython !

Pierre

Ed

unread,
Dec 20, 2023, 10:53:38 AM12/20/23
to bry...@googlegroups.com
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
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


--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/1872015.tdWV9SEqCh%40tazar3.

Kiko

unread,
Dec 20, 2023, 10:59:19 AM12/20/23
to bry...@googlegroups.com
Congrats for being selected, Goffi!!!

Ed, usually all the talks in FOSDEM are streamed and later shared on YT. I suppose this year will be the same.

Goffi

unread,
Dec 20, 2023, 12:04:15 PM12/20/23
to bry...@googlegroups.com
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


Ed

unread,
Dec 20, 2023, 1:05:52 PM12/20/23
to bry...@googlegroups.com
Great, I look forward to your talk then.
 
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.

I have a very similar goal: one code base that covers front and back end.  Brython provides a great python environment for the browser.  Compatibility is outstanding in forward direction (cpython code to brython) but not backward (no shims for import browser, javascript, console in cpython).  And browser interfaces are quite low level.  Brython is great at what it does.  I'm just looking for higher level toolkits on top of brython.

Lately I've been playing with nicegui.  It's fantastic as a high level event-driven UI toolkit.  Almost all app code runs server side, with client side communications done transparently via web sockets.  But sometimes you need a little code to run client side, which requires javascript.

I'd love to integrate brython with nicegui for a single python codebase.  Should be doable, planning to try it soon.  It's nice to hear from others about similar efforts.



--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.

Goffi

unread,
Feb 8, 2024, 4:37:27 AMFeb 8
to bry...@googlegroups.com
The talk video has just been released:

Talk Details: https://fosdem.org/2024/schedule/event/fosdem-2024-2337-how-i-ve-built-a-web-frontend-for-a-federated-communication-tool-with-brython/

Direct Video Link: https://video.fosdem.org/2024/ud2218a/fosdem-2024-2337-how-i-ve-built-a-web-frontend-for-a-federated-communication-tool-with-brython.av1.webm

Big thanks to attendees and FOSDEM organisation!

I'm here if you have any feedback or question.

Regards,
Goffi
signature.asc

Pierre Quentel

unread,
Feb 8, 2024, 10:01:22 AMFeb 8
to brython
Congratulations once again Jérôme, and thnaks for the kind words on the community :-)
- Pierre
Reply all
Reply to author
Forward
0 new messages