FastHTML: Python's Answer to NextJS?

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Is FastHTML the future of web development? In this video, we explore the pros and cons of this new Python-based framework.
    Key points covered:
    - FastHTML's approach to simplicity and scalability
    - How it compares to established frameworks like React and Angular
    - The potential impact on full-stack development
    As a channel dedicated to making coding accessible, we break down complex concepts and offer practical insights. By the end of this video, you'll understand whether FastHTML is worth your time and how it might shape the future of web development.
    ----
    Stay in the loop with my newsletter: www.kodaps.dev...

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

  • @raveena.sharma
    @raveena.sharma 8 дней назад

    In the end, you need to know JS even for FastHTML since it uses HTMX, a JS library. Am I right?

  • @egzixmusic385
    @egzixmusic385 9 дней назад

    Can you make a video about Nestjs and Django? Why multithread languages are important

  • @jacksonsmith...
    @jacksonsmith... 7 дней назад

    i love the way you present your videos. It keeps me focused with very little distractions 😊😂

  • @DreamingDolphing
    @DreamingDolphing 27 дней назад +9

    Python for backend development is ok, but trying to use it for frontend looks ridiculous. No one will ever use it for serious solutions. Maybe for some simple admin panels, pet projects or something like that, but a serious frontend requires a lot of javascript code.

    • @SchizoJeet
      @SchizoJeet 27 дней назад +2

      hopefully that changes

    • @ivan.jeremic
      @ivan.jeremic 24 дня назад +3

      @@SchizoJeet stop wasting your time just learn react

    • @SchizoJeet
      @SchizoJeet 24 дня назад

      @@ivan.jeremic can't be fucked, I'll stick to backend + htmx thanks

    • @my_name_is_ahad
      @my_name_is_ahad 23 дня назад +2

      What do u mean serious application? No one building every app like Canva or Figma. Maximum web app is CRUD like. Stop being Javascript karen.

    • @matten_zero
      @matten_zero 4 дня назад

      Many popular AI apps are built with Gradio/Streamlit. There's a lot of technical debt in the doing things the traditional way

  • @mertdr
    @mertdr 24 дня назад

    Htmx always looked promising and I liked the idea in general. But this one is by far the ugliest html generating code I’ve ever seen. Especially comparing to beauty of JSX.

  • @Pierre-zh3ed
    @Pierre-zh3ed 23 дня назад

    Can I do my frontend with React, or another library, and use FastHTML only as a backend responding to queries without any backend rendering?

    • @picklenickil
      @picklenickil 23 дня назад +1

      You can do that in flask using templates. Just compile your react to static files and use them as static files for flask. I'm not sure if fastapi has templates

  • @dadisuperman3472
    @dadisuperman3472 25 дней назад +1

    Very promising

  • @mikeychocho
    @mikeychocho 25 дней назад

    Nahh! This is just wrong

  • @abcq1
    @abcq1 27 дней назад +7

    Python is strong in data science, machine learning, and AI, but it's not the best choice for web development. Any other tool in any other language is generally better for web projects. Unless you only know Python and aren't willing to learn another language, there's no good reason to use it for web development.

    • @sowoul_
      @sowoul_ 27 дней назад +11

      What?
      Ever heard of Django? Its one of the most widely used backend frameworks. Learn about the language if you are hate on it lil bro

    • @iTz_Nao
      @iTz_Nao 27 дней назад

      @@sowoul_ as a py bro, hes right.. just switched to next and tailwind and its so much better..

    • @satyabansahoo1862
      @satyabansahoo1862 26 дней назад

      ​@@sowoul_Django is for backend, not frontend like NextJS

    • @train_xc
      @train_xc 25 дней назад +3

      WHAT??
      Django? Flask? In fact RUclips runs a lot of Python

    • @waseksamin3216
      @waseksamin3216 25 дней назад

      What a dumb comment

  • @n-xs8up
    @n-xs8up 27 дней назад +4

    Python lost its race to JS why they wasted time in Pushing Python 3

    • @Ronaldo-se3ff
      @Ronaldo-se3ff 27 дней назад +2

      ???

    • @oboynitro
      @oboynitro 26 дней назад +2

      funniest comment from a noob ever seen 😂😂

    • @DataPastor
      @DataPastor 26 дней назад

      LOL 😂😂

    • @waseksamin3216
      @waseksamin3216 25 дней назад

      What the fuck are you saying gay

    • @ivan.jeremic
      @ivan.jeremic 24 дня назад

      @@oboynitro but python lost he is right. stop wasting time and learn react

  • @AskoldTheFirst
    @AskoldTheFirst 24 дня назад

    I implemented some parts of logic in Python and revealed that it lacked multithreading ability. I was taken aback (shocked), honestly. How can someone consider this poor language as a tool for modern scalable and fast applications?

    • @KodapsAcademy
      @KodapsAcademy  23 дня назад +1

      I'm not quite sure what point you are trying to make since Python supports both multithreading and multiprocessing ?

    • @AskoldTheFirst
      @AskoldTheFirst 23 дня назад

      @@KodapsAcademy Python does not support any type of multithreading AT ALL! Absolutely AT ALL! It just simulates it.

    • @KodapsAcademy
      @KodapsAcademy  23 дня назад

      Which is still more multi threading than Node or PHP offer, if we’re being precise about threads :)

    • @AskoldTheFirst
      @AskoldTheFirst 23 дня назад

      ​@@KodapsAcademy Multi-threading can not be more or less as you wrote. Multi-threading either exists or does not exist. In Python, multi-threading does not exist. If you do not understand/comprehend this you might need to develop your programming skills.

    • @picklenickil
      @picklenickil 23 дня назад

      I have used python in multi threaded environment.
      Connected my flask app Via socketioforflask , to frontend that was also in the same flask app. Just templates = compiled React. Also socketio can run in a multi threaded environment.