FastHTML: Modern, Reactive Web Apps in Pure Python

preview_player
Показать описание
FastHTML is a new web framework allowing you to write applications entirely in Python without needing to touch HTML or JS. Here I take a look and compare it to how we typically do things.

00:00 Intro
00:42 FastTags
01:29 Using HTMX
04:48 Using a DB and Classes
10:32 Thoughts and Tooling
15:40 Outtro

Support My Work:

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

The implementation of the database without any real back end is quite scary. Besides that the framework seems quite usefull if someone does not want to dtruggle woth HTML or CSS

giorgioripani
Автор

fast nd python in the same title this goin' be interestin

MrMultiDesigner
Автор

*Summary*
* *(**0:00**)* *FastHTML is a new Python web framework* that lets you build web applications entirely in Python without writing HTML or JavaScript directly.

* *(**0:42**)* *It uses FastTags for templating:* Python code is used to define the structure and content of the web page, instead of traditional HTML templates.

* *(**1:29**)* *Built-in reactivity with HTMX:* FastHTML integrates HTMX, allowing for dynamic updates of parts of the web page without full page reloads.

* *(**4:48**)* *Database integration:* You can easily connect to databases and define data models (using Python classes) directly within the FastHTML framework.

* *(**10:32**)* *Simplified for new coders:* FastHTML aims to make web development easier for individuals with limited experience in traditional web technologies, particularly those coming from a machine learning background.

* *(**10:32**)* *Tooling for HTML conversion:* An online tool is available to convert existing HTML code into FastHTML's Python-based FastTag format.

* *(**10:32**)* *Limitations for larger projects:* FastHTML may not be suitable for larger web applications or teams with dedicated frontend developers who prefer traditional frontend tools and workflows.

* *(**0:27**)* *Built by Jeremy Howard of Fast.ai:* The framework leverages the expertise and focus on accessibility associated with the Fast.ai deep learning library and community.

Summarized by AI model: gemini-1.5-pro-exp-0801
Cost (if I didn't use the free tier): $0.0453
Input tokens: 11229
Output tokens: 567

wolpumba
Автор

wow so i can use a converter to change easy to read html to hard to read python markup, so that the browser can convert it to html
PROGRESS

purpinkn
Автор

It's an interesting approach, looks similar to streamlit.

Tarbard