node http is beautiful

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

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

  • @atraps7882
    @atraps7882 3 года назад +123

    i love this kind of content, it's like having a cool older cousin of yours explaining stuff to you

  • @jithin_zac
    @jithin_zac 3 года назад +60

    Basics like this are often ignored! Thanks for the amazing content!!!

    • @Flankymanga
      @Flankymanga 2 года назад +1

      I know nothing of the NodeJS but boy have i learned something today...

  • @the_xibalba
    @the_xibalba 3 года назад +15

    I have been working with Node for about 3 years now and I have always used express. This video is all I needed to explore how all these functionalities have been abstracted from the actual core packages of Node. Thank you!

  • @awrjkf
    @awrjkf 3 года назад +19

    Bro the way you explain concepts makes me fall in love with technology, specifically backend tech. Throughout time I lost that passion I once had, and did it only just as a career. But I want to bring the same old passion back. Which you are helping me.

  • @shiewhun1772
    @shiewhun1772 2 года назад +1

    1:22
    He's the one teaching yet says "you probably know this better than I do.". Nasser knows his audience. We have spent years with little idea of how little we knew.

  • @mhoyle95
    @mhoyle95 3 дня назад

    Bro this one short video just put so many things together for me in my brain, I appreciate you!

  • @AkshayKumar-kz6zh
    @AkshayKumar-kz6zh 3 года назад +4

    I started to learn node.js a few days back and this video drops in. Thanks man!

    • @awrjkf
      @awrjkf 3 года назад +1

      All by design. Life is synchronicity.

  • @dealloc
    @dealloc 3 года назад +1

    Deno's core built-in listen and HTTP API is even more beautiful. It doesn't rely on callback-pattern, which can become very unwieldy if you haven't introduced a strategy to handle it early on in development but rather uses async iterators for iterating and gives you much more control over the control flow of your connection handlers.
    But I'd still want to use something a bit more high-level that allows me to define routes and handlers outside a loop and automatically filter and orchestrate requests based on pre-conditions. Working with a low-level API for application code is not feasible. They are great as building blocks for higher level concepts, though.

  • @paroxyzm21
    @paroxyzm21 3 года назад +3

    Thank you Hussein. Keep up with this kind of Basic content, love it!

  • @amans6504
    @amans6504 3 года назад +1

    It brings more clarity about what I'm doing, i like these sessions..

    • @awrjkf
      @awrjkf 3 года назад +1

      Everyone has their unique way of teaching, so we get to learn new perspectives and gain deeper insights.

  • @georgelinardis
    @georgelinardis Год назад

    What an awesome video with very good explanations and under the hood researching, great job!

  • @WiredMartian
    @WiredMartian 3 года назад +4

    This is awesome. I started with Node through Express, then Fastify. Never really dived into this part

  • @marslogics
    @marslogics 3 года назад +1

    quality content, please keep this coming.

  • @itsnobledean9450
    @itsnobledean9450 10 месяцев назад

    I'm completely new to node and to this channel, but after watching this video in its entirety, it seems like this guy needs to be putting out a node.js/express.js course, or maybe he has one already. He knows his stuff, and is very easy to understand.

  • @GreenMarkoulis13
    @GreenMarkoulis13 3 года назад +3

    Great video which shows in practice what happens under the hood. Keep it up Hussein!

  • @ZelenoJabko
    @ZelenoJabko 3 года назад +1

    akka-http has even more beautiful design. Atop of that, it has beautful routing declaration API. It is also type safe, which allows usage without reading any documentation.

  • @SamualN
    @SamualN 2 года назад +1

    never touched express or similar
    I do like how intuitive the built in modules can be

  • @axaysushir
    @axaysushir 3 года назад

    Awesome man, I doesn't know those details about Node.js. Now go deep down to understand how these things works under the hood

  • @hl7297
    @hl7297 3 года назад +1

    This is a joy to watch

  • @mtnrabi
    @mtnrabi 3 года назад +1

    Niceeeee
    Really missed those simple yet very insightful videos
    B.t.w - ate you using brave as your browser on your mac?
    Do you recommend? (Currently using chrome for the dev tools etc but I really want to switch for the sake of diversity)

  • @jlambert12013
    @jlambert12013 2 года назад

    Every time I look it up, basically no one thinks I should learn the HTTP module, and almost always say use express. I don’t really understand why many discourage just using HTTP. Can anyone clarify why this is?

  • @siddharth5485
    @siddharth5485 3 года назад +1

    This is such a good explanation of this simple concept. Thanks for the amazing video. And please do make a video on express also.

  • @light-qn2jb
    @light-qn2jb 11 месяцев назад

    how does vs code debugger open when you run curl in the terminal

  • @ionelCristianLupu_
    @ionelCristianLupu_ 3 года назад +3

    Love this type of content. Looking forward to see about QUIC as it's built in nodejs as well

  • @Anthony-wg7fn
    @Anthony-wg7fn 3 года назад

    Best video. Please keep doing stuff like this

  • @real-ludovico
    @real-ludovico 2 года назад

    You talk to curl like to a dog: "Look at you! Good Job!" :D

    • @hnasr
      @hnasr  2 года назад +1

      Good boy! 😂

  • @yadneshkhode3091
    @yadneshkhode3091 3 года назад +1

    Awesome thank you sir ❤️☺️

  • @dankman7603
    @dankman7603 2 года назад

    What advantages does Brave have over the other browser?

  • @youcannotsaypopandforgetth7609
    @youcannotsaypopandforgetth7609 3 года назад +2

    I never knew how to use break points until today lol

  • @Oreoezi
    @Oreoezi 2 года назад

    I unironically make my backends with the http module. writing a stable login and signup system for instance only takes like half an hour if you have the experience

  • @MohammodnazmuSakiB
    @MohammodnazmuSakiB 3 года назад +1

    How could an HTTP server serve a TCP request shown using telnet?

    • @onlyjustin4u
      @onlyjustin4u 3 года назад +1

      Because HTTP 1 and 2 are built upon TCP.

  • @tyrodev5281
    @tyrodev5281 3 года назад +1

    It is indeed beautiful, the explanation, I mean. haha

  • @marcelocch
    @marcelocch 3 года назад +1

    AMAZING CONTENT!

  • @pranshusharma4642
    @pranshusharma4642 3 года назад

    If client connects through different browser tabs,
    Will client ports be different ?

  • @MrKyriakos32
    @MrKyriakos32 3 года назад +1

    dope video, great job, keep it up!

  • @HarshKapadia
    @HarshKapadia 3 года назад

    Why was connection.remotePort not 8080?

  • @sukoiineamini338
    @sukoiineamini338 2 года назад

    Great stuff

  • @Mercio2
    @Mercio2 Год назад

    nice!

  • @jayshah5695
    @jayshah5695 3 года назад

    Thanks

  • @poshakajay
    @poshakajay 3 года назад

    I have built this dark mode in node docs :)

  • @Mr1Horhe
    @Mr1Horhe 3 года назад

    Nobody:
    Fathers at Texas after the new law: 6:02

  • @gajendertyagi1042
    @gajendertyagi1042 3 года назад

    Cool stuff

  • @dummypg6129
    @dummypg6129 3 года назад +1

    I was frustrated few weeks back coz I just knew that built-in node modules, like http is not supported in react-native.
    My project was suppose to call https backend with certificate authentication.
    I ended up binding native java code into react-native in order to do such simple task.

  • @codyrap95
    @codyrap95 Год назад

    I was today years old when I learnt about vscode debug mode. 🤣🤣

  • @GonzaloMassa
    @GonzaloMassa 2 года назад

    x 1.25 is the perfect playback speed for this video

  • @SquaredbyX
    @SquaredbyX 2 года назад

    Port ATAT... from StarWars??? Yeah, I just figured it out.

  • @PrimeGoose
    @PrimeGoose 3 года назад +3

    I'm a goose

  • @mehdiboujid8761
    @mehdiboujid8761 3 года назад

    wait until u try golang s http package

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz 3 года назад +1

    You sound a little drunk .. XD

  • @youssefwilliam7097
    @youssefwilliam7097 3 года назад +2

    First comment haha 👋

  • @DemPilafian
    @DemPilafian 2 года назад

    It's 2021 and this video is still teaching creating a new project using antiquated *"require"* statements instead of the standard *"import"* statements. The JS module ecosystem is a depressing mess because of obsolete stuff like this.

  • @avi12
    @avi12 3 года назад

    0:19 You said "so what I wanna do today is" twice

    • @felleg4737
      @felleg4737 3 года назад +1

      you should go work for the cia

    • @mekinis
      @mekinis 3 года назад

      @@felleg4737 😂

  • @bruhdabones
    @bruhdabones 3 года назад +2

    No, it's not. It's really really really not. For a tiny project (

    • @calimio6
      @calimio6 3 года назад +2

      lol, dude chill out.

    • @bruhdabones
      @bruhdabones 3 года назад +1

      @@calimio6 make a point or leave