FastHTML - The fastest way to create an HTML app with Python

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

КОМЕНТАРІ • 62

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

    very exciting, always good to have options, thanks for sharing, God Bless

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

    so you're saying that python developers can put "full stack developer" in their resumes now.

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

      exactly what I said, yes :p

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

      @ahmed-elkurdi depends on your needs. Fasthtml comes with picocss

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

      @ahmed-elkurdiTailwind

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

      Bro, there is PyReact as I remember and few others
      And you can compile to .wasm QT and Tk

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

      We could always do that, ever heard about django?

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

    This is amazing, thank you I have been looking for something like this.

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

    This is amazing, started to learn python, but already known the front end very well. I will definitely be playing around with this.

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

    Amazing, that’s very useful!! Thanks

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

    Love streamlit it makes coding really easy and fun with its context managers... Hope similar concepts are available in FH too.

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

      I already thought of creating decorators which you might wrap around a function for layouting :)

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

    Why do I get the feeling that in a couple of years everyone will switch back to python? Thats great tool. I like the section refresh where in small apps you dont need to do server rendering or keep in cache.

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

    This is very interesting~

  • @RT-mn2pb
    @RT-mn2pb 4 місяці тому +1

    Its simple. I love simple.

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

    Where is the app state saved? In the python process or in the browser?

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

      The HTML is the reflection of the state. HATEOS. Hypermedia as the engine of state.

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

      In memory in the backend in this app.

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

    Nice intro thanks 👍

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

    Nice. Does it support the streaming response from GPT also? Can you make a video on that

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

      For building chatbots I would suggest using frameworks like Chainlit

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

      Can have a look at that if this video gets some views :)

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

      @@freerider6300 Probably the fastest way to creating a prototype, yes

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

    Do a video comparing moderns python web frameworks; reflex, fasthtml, robot, flet, streamlit, nicegui, etc.

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

    I didn't get the part when you put the htmx-tag in the header. Doesn't fasthtml already import this?

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

    In flask, we can do render_templates to direct .html file. Is it possible to do that in FastAPI?

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

    helpful thanks!

  • @this.channel
    @this.channel 4 місяці тому

    So this is interesting because Symfony framework (for PHP) uses a server side form builder syntax that behaves a bit similar. It seems kind of wrong at first, but when you get used to it, it turns out to be quite enjoyable over writing templates.

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

    This is amazing! I really love this and how you combined it with langchain. I myself do not know HTML and I was wondering if you have any video or recommendation we can watch to learn about HTML so that we can use this framework. Streamlit and gradio as you said aren't production level and I believe fastHTML is still new but it will get to the point where we can build a full stack with pure python.

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

      Well you already can do that with Django or Flask, but these also have got a learning curve. Streamlit and gradio are great, but they never will become "production ready". They are solely for prototyping and creating quick showcases and that is totally okay :)

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

    thanks for your content, got a question, do you thinks to create a whole course for fasthtml on udemy?

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

      If the package gets more stable and gets a bigger community, than maybe, but currently not. It´s way too new.

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

      @@codingcrashcourses8533 yeahh i see, but i really hope that you will be the first one, who create a course for this :)

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

    Great video indeed, thanks :) I wonder if it is possible to show how to build edit task route/functionality?

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

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

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

    Hooked? Learn design principles/patterns for FastHTML here: ua-cam.com/video/hQWCejlinJc/v-deo.html

  • @felipecordero29
    @felipecordero29 2 місяці тому

    Great video, thanks!
    Can you share some guidance to use #FastHTML to show a modal or a dialog? Thanks in advance!

    • @codingcrashcourses8533
      @codingcrashcourses8533  2 місяці тому

      You trigger modals by changing the state to visible=True on one button click (outside the modal) and visible=false on one button click in the modal itself.

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

    What if we want to use it for just frontend and use something like django, flask, fasrtapi for backend?

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

      Should probably work with FastAPI, with Flask probably not, but I am not sure.

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

    can we use opensource like Lama?

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

    Danke

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

    how do we contribute to this project?

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

    someone please make a leaflet extension lib for fasthtml!

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

    is it better than streamlit?

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

      It´s just something totally different 🙂. Much more low-level

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

      @@codingcrashcourses8533streamlit is much more low level right ? And how about flask , Django?

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

    Jinja with battery))

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

    Hello, please VS Flask ?

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

      @@fabriziocasula had a similar request already, but not Sure if thats interesting enough

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

      @@codingcrashcourses8533 what do you think! is it better fast html or flask?

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

    PHPython 🤣

  • @Hossein-m9v
    @Hossein-m9v 3 місяці тому

    useless for production