Full Stack Python Application FastAPI, HTMX, SQLite Part 1

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 20

  • @2v4vendetta
    @2v4vendetta 2 месяца назад +1

    one of the best and most well-paced videos I've ever seen on the topic. Please post more often!

    • @cspythonforscience
      @cspythonforscience  2 месяца назад

      Thank you for the kind words! I hope to have part 3 uploaded within the next few days

  • @sehriyarmemmedli26
    @sehriyarmemmedli26 Месяц назад

    Discovered these while searching for interesting new fastapi tutorials. Looks informative tbh. Haven't watched yet but planning to start. Thanks.

    • @cspythonforscience
      @cspythonforscience  Месяц назад

      Hope you enjoy them! I think fastapi and htmx are a killer combo to get something off the ground fast. I also have the source code uploaded on GitHub. Cheers!

  • @karibusafari1877
    @karibusafari1877 28 дней назад

    very detailed explanation, with full exposure of the developing route. Thank you!

  • @swoopsavvy7560
    @swoopsavvy7560 2 месяца назад

    Good job! Clear explanation and the right pace!

  • @second1799
    @second1799 2 месяца назад

    I enjoyed it. Keep it up brother!

  • @ralphlagos4210
    @ralphlagos4210 Месяц назад

    Love this series!

  • @teddyfulk
    @teddyfulk 28 дней назад +2

    What’s your opinion on fastHtml?

    • @cspythonforscience
      @cspythonforscience  28 дней назад +1

      I haven't tried it out yet, but my initial impression isn't too strong. It seems like the main selling point is that everything is done using only python, however I don't see a huge advantage in that. I usually like abstractions when it hides implementation details by exposing a declarative API. That's why I prefer to stick with straight SQL instead of ORM. SQL is a declarative way of dealing with a database while the implementation details are left to the DBMS. I feel like an ORM just tries to abstract something that's already been abstracted away to begin with. Same applies to HTML. Its a declarative way to state how you want a webpage to be displayed, and the implementation details are left to the browser. Trying to abstract HTML into python just doesn't make sense to me. Plus looking at the codebase for FastHTML, it doesn't look like its written in a manner to provide decent type hinting when making the HTML components. They use *args and **kwargs, which makes less than an ideal developer experience when you forget an attribute name. Whereas writing HTML in a modern IDE basically just writes itself due to the really great code completion.

  • @scarysticks66
    @scarysticks66 20 дней назад +1

    have you ever tried golang?

    • @cspythonforscience
      @cspythonforscience  20 дней назад

      No I haven’t but I’ve heard good things about it and would like to try it out sometime. Currently I am learning rust on the side and using it with axum for some hobby projects.

  • @aleksdizhe
    @aleksdizhe 2 месяца назад

    When will part 2 be? :)

    • @cspythonforscience
      @cspythonforscience  2 месяца назад +1

      Part 2 is out! Full Stack Python FastAPI HTMX SQLite Part 2
      ruclips.net/video/oHy4YeMp6Zo/видео.html
      Sorry still a RUclips noobie, I will try to add a card and link it to this video when I get home

    • @aleksdizhe
      @aleksdizhe 2 месяца назад

      @@cspythonforscience thx!

  • @MrRbc33
    @MrRbc33 8 дней назад

    you know that you can comment a selection with Ctrl + /

    • @cspythonforscience
      @cspythonforscience  5 часов назад

      Yes, but I had to remap my vscode key bindings awhile back. But I need to go back and correct it so I can quickly comment like you said