FastHTML and FastAPI - Combine the two FAST Frameworks?

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

КОМЕНТАРІ • 18

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

    Someone was reading my mind. Thank you.

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

    Hmmm interesting never heard of fasthtml. Im curious what python developers tend to most commonly use for integrating AI apps into webpages though.

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

      Most will use just APIs, at least when you want to develop professionally :)

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

      I’ve been using react before I found fasthtml

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

    thanks for your approach, are you thinking to create course about?

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

    So my goal in combining the two frameworks is just to use fast tags to generate the html. Fasthtml seems immature for production but good for generating htmx. I don’t think producing achieves what I’m looking for

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

    What features of fastapi are not available in fasthtml? What caused you to want to combine these technologies?

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

      Actually the complete API Part :p. I received a question if you could do it on my first tutorial and I showed how. I also gave an opinion about if you "should" do it.

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

      @@codingcrashcourses8533 According to the Fasthtml documentation it inspired completly from fastapi and nearly all features in fastapi can be founf in fasthtml.

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

      @@codingcrashcourses8533But you can serve API routes in FastHTML?
      What am I missing?
      Seems like FastHtml has it all. Front end and backend.

    • @Eternam
      @Eternam 29 днів тому

      you can for example separate the database acces and do it from fastapi. it would be the real backend.

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

    I recommend Litestar instead of FastAPI for backend

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

    But why?

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

      But why what? Combine the frameworks?

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

      @@codingcrashcourses8533 Why not just use FastHmtl alone?