FastHTML: Modern, Reactive Web Apps in Pure Python

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 23

  • @luisfoscg
    @luisfoscg 3 місяці тому +3

    As someone who knows their way around python but doesn't know how to use js/html/css or make websites in general, this seems like a great alternative for getting into webdev instead of relying on website builder platforms.
    What isn't clear to a webdev noob like me is, to make modern looking sites, I will still need to learn about css frameworks like tailwind and that part isn't there yet

    • @IanWootten
      @IanWootten  3 місяці тому +1

      If you're planning on them instead of anything else, you're going to need to understand CSS frameworks thoroughly. Making a modern website doesn't necessarily mean using them, but it will make things quicker, especially if you're the only one building an app.

  • @wolpumba4099
    @wolpumba4099 4 місяці тому +2

    *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

  • @giorgioripani8469
    @giorgioripani8469 4 місяці тому +4

    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

    • @IanWootten
      @IanWootten  4 місяці тому +2

      The DB is sqlite. Used in plenty of smaller applications and very capable.

    • @wolpumba4099
      @wolpumba4099 4 місяці тому +1

      I think Jeremy Howard mentions in his introduction that you can replace the sqlite database with something else.

    • @_alexlazar_
      @_alexlazar_ Місяць тому

      Uhm, this is a real backend 😅

    • @giorgioripani8469
      @giorgioripani8469 Місяць тому

      @_alexlazar_ 🥲 how? I don't see any entities or dtos or error handling
      I can only see a mere wrapper for HTML tags

  • @mohamedsaidi5375
    @mohamedsaidi5375 Місяць тому

    hello , I 'm descovering fastHTML and the HTMX scope , and I'm wandering about the capabilities of this framework especially if i want to make a heavenly front app ( because of some webmapping that needs some frameworks and maybe javascript intervention ) ? if i have a template can i convert it to component of fasthtml very easily ?

  • @Tarbard
    @Tarbard 4 місяці тому +3

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

    • @Aristocle
      @Aristocle 4 місяці тому +3

      Totally different.

    • @radadadadee
      @radadadadee 3 місяці тому

      looks more like React, and I think that was the idea.

  • @praveenhamal
    @praveenhamal 3 місяці тому

    please reply i have
    Input("Name",id="username")
    how to get value of input?

  • @jenreiss3107
    @jenreiss3107 4 місяці тому

    pyodide is the goat

  • @MrMultiDesigner
    @MrMultiDesigner 4 місяці тому +5

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

    • @radadadadee
      @radadadadee 3 місяці тому +1

      "fast" in python means fast development cycle

  • @radadadadee
    @radadadadee 3 місяці тому +2

    man, these commenters you have in your site are nasty! hahaha

    • @IanWootten
      @IanWootten  3 місяці тому

      What do you mean? Everyone here are well natured lovely people.

  • @MaxS-v7x
    @MaxS-v7x Місяць тому

    Streamlit is better.