node http is beautiful

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 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 3 ปีที่แล้ว +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 28 วันที่ผ่านมา

    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.

  • @WiredMartian
    @WiredMartian 3 ปีที่แล้ว +4

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

  • @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.

  • @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

  • @georgelinardis
    @georgelinardis ปีที่แล้ว

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

  • @GreenMarkoulis13
    @GreenMarkoulis13 3 ปีที่แล้ว +3

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

  • @marslogics
    @marslogics 3 ปีที่แล้ว +1

    quality content, please keep this coming.

  • @SamualN
    @SamualN 3 ปีที่แล้ว +1

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

  • @ionelCristianLupu_
    @ionelCristianLupu_ 3 ปีที่แล้ว +3

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

  • @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.

  • @hl7297
    @hl7297 3 ปีที่แล้ว +1

    This is a joy to watch

  • @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.

  • @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)

  • @Anthony-wg7fn
    @Anthony-wg7fn 3 ปีที่แล้ว

    Best video. Please keep doing stuff like this

  • @real-ludovico
    @real-ludovico 3 ปีที่แล้ว

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

    • @hnasr
      @hnasr  3 ปีที่แล้ว +1

      Good boy! 😂

  • @tyrodev5281
    @tyrodev5281 3 ปีที่แล้ว +1

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

  • @youcannotsaypopandforgetth7609
    @youcannotsaypopandforgetth7609 3 ปีที่แล้ว +2

    I never knew how to use break points until today lol

  • @Oreoezi
    @Oreoezi 3 ปีที่แล้ว

    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

  • @yadneshkhode3091
    @yadneshkhode3091 3 ปีที่แล้ว +1

    Awesome thank you sir ❤️☺️

  • @Mr1Horhe
    @Mr1Horhe 3 ปีที่แล้ว

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

  • @MrKyriakos32
    @MrKyriakos32 3 ปีที่แล้ว +1

    dope video, great job, keep it up!

  • @marcelocch
    @marcelocch 3 ปีที่แล้ว +1

    AMAZING CONTENT!

  • @sukoiineamini338
    @sukoiineamini338 3 ปีที่แล้ว

    Great stuff

  • @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?

  • @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.

  • @codyrap95
    @codyrap95 ปีที่แล้ว

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

  • @dankman7603
    @dankman7603 3 ปีที่แล้ว

    What advantages does Brave have over the other browser?

  • @light-qn2jb
    @light-qn2jb 11 หลายเดือนก่อน

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

  • @poshakajay
    @poshakajay 3 ปีที่แล้ว

    I have built this dark mode in node docs :)

  • @gajendertyagi1042
    @gajendertyagi1042 3 ปีที่แล้ว

    Cool stuff

  • @pranshusharma4642
    @pranshusharma4642 3 ปีที่แล้ว

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

  • @HarshKapadia
    @HarshKapadia 3 ปีที่แล้ว

    Why was connection.remotePort not 8080?

  • @jayshah5695
    @jayshah5695 3 ปีที่แล้ว

    Thanks

  • @Mercio2
    @Mercio2 ปีที่แล้ว

    nice!

  • @PrimeGoose
    @PrimeGoose 3 ปีที่แล้ว +3

    I'm a goose

  • @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.

  • @SquaredbyX
    @SquaredbyX 3 ปีที่แล้ว

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

  • @mehdiboujid8761
    @mehdiboujid8761 3 ปีที่แล้ว

    wait until u try golang s http package

  • @GonzaloMassa
    @GonzaloMassa 3 ปีที่แล้ว

    x 1.25 is the perfect playback speed for this video

  • @youssefwilliam7097
    @youssefwilliam7097 3 ปีที่แล้ว +2

    First comment haha 👋

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz 3 ปีที่แล้ว +1

    You sound a little drunk .. XD

  • @DemPilafian
    @DemPilafian 3 ปีที่แล้ว

    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