FastHTML Intro - Build resuable Compoents with common Design Patterns

preview_player
Показать описание
In this video you will get some ideas of how to actually build reuseable Components with FastHTML by applying common design patterns.

Timestamps:
0:00 Why FastHTML?
0:40 Why Patterns?
0:58 Decorator Pattern
2:18 Component Composition
3:00 Conditional Rendering
3:41 Stateful Components
4:12 Template Component
4:51 Factory Pattern

#fasthtml
Рекомендации по теме
Комментарии
Автор

This is gonna be the default library to build web apps with Python 🎉

TheEugevanz
Автор

This is what the GOTH stack is all about, but now the python gang is here 🎉

spoonikle
Автор

Awesome video. Can you please tell me about your audio setup or the microphone that you use for your videos?. Thank you and looking forward to hearing from you

Fibe
Автор

What about the PEP regarding methods name in snake case vs classes in camel case? Why are you using camelCase all over the place?

giorgioripani
Автор

Im thinking that wats going on in native html and css is signal that we should stop thinking of using framwworks and use simplest standard.. Im not sure about using JS as it is standard, but we knew from the beggining its shitty- maybe using it only for dom and initialization would be good but there is Rust which is good language- I was sceptical for very long because we are trying to create new C that is not C for years, but I have to agree thats better
And you can compile Rust to wasm use ComponentModel and there is no js required to run Rust


Componentmoddlor switch to

lhardl