Using Deno to Build a HTTP Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 39

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

    So with Parcel and then this Deno is there a movement in JavaScript back to more purity? It seems like everything was find a package to do anything you want. But that gets bloated. And now with Parcel and Deno those are two really stripped down just ready to do the job solutions without all the bells and whistles. It almost feels like the difference between a microORM and Entity Framework.

    • @hswolff
      @hswolff  4 ปีที่แล้ว +1

      Yeah I feel that trend too. Parcel has been around for a while but Deno is definitely more new. I do love the more barebones/batteries included approach.
      Really I think the past 10 years of Node and the explosion of JavaScript has created so many tools that more recent tools can build on top of, where winners are more clearly visible. Like Deno can just use Prettier by default, making it super easy to support a built-in Deno formatter.
      Excited to see this 2.0 wave of JavaScript tho! Super promising.

  • @muhammadfaateh6463
    @muhammadfaateh6463 4 ปีที่แล้ว +2

    Thanks you made me to explore this more 💖

    • @hswolff
      @hswolff  4 ปีที่แล้ว +1

      My pleasure 😊

  • @kamilzielinski1303
    @kamilzielinski1303 4 ปีที่แล้ว +1

    Good video. One question: how did you manage to configure the vs code so it fetches the imported libraries types?

  • @CardinalHijack
    @CardinalHijack 4 ปีที่แล้ว +1

    Great video dude. Just a thought - i think your cam area is too large. Maybe cut down the sides or reduce the size of it?

  • @paulgalow2728
    @paulgalow2728 4 ปีที่แล้ว +1

    Another exciting Deno video. Thanks, Harry. Unfortunately Deno currently does not compile into binaries. In fact, "deno install" simply creates a Shell script that acts as an alias to your command line invocation. Fortunately there is a GitHub issue to actually bring binary compilation in the future: github.com/denoland/deno/issues/986. Keeping my fingers crossed for that one!

    • @hswolff
      @hswolff  4 ปีที่แล้ว

      Yeah! I'm suuuper excited about that one. If that happens that's going to be pretty incredible. It'll make it so nice to package CLI scripts.

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

    Hi, great to see Deno in action!
    did you configure your dev environment in vsc for Deno somehow?
    it keeps yelling at me, neither i have any IntelliSense

    • @Soremwar
      @Soremwar 4 ปีที่แล้ว

      Install axetroy extension (in the marketplace)

    • @hswolff
      @hswolff  4 ปีที่แล้ว +1

      Ah yeah, should have made a note of that. I'm using the axetroy one indeed: github.com/axetroy/vscode-deno It works great as you can see!

  • @mouradaouinat8721
    @mouradaouinat8721 4 ปีที่แล้ว +17

    Imagine Express but for deno 😭👋

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

      It's not Express, but there's drash.land for Deno

    • @mouradaouinat8721
      @mouradaouinat8721 4 ปีที่แล้ว

      Eric Crooks Thanks 🙏 I’ll check it out

    • @hswolff
      @hswolff  4 ปีที่แล้ว +7

      Dexpress?

    • @Vexxlol
      @Vexxlol 4 ปีที่แล้ว

      There’s also dejs (an ejs alternative for deno users)

    • @SaunakSen25
      @SaunakSen25 4 ปีที่แล้ว

      Oak is there and deno express aswell

  • @acollierr17
    @acollierr17 4 ปีที่แล้ว

    Haven't found a "better" way to do this, but in the latest version of Deno (v1.1.2 at this time), you must prepend the file path with "file://" to properly import the absolute file path on Windows. "c:/" will just break saying "Unsupported scheme 'c' for module ...". Let me know if there's a better way for this!

  • @kris10an64
    @kris10an64 4 ปีที่แล้ว

    Great video! Little weird question, but what font are you using in vscode? Is it the default on mac? Looks pretty good 🥵

    • @JosephKhalilov
      @JosephKhalilov 4 ปีที่แล้ว

      Should be JetBrain mono www.jetbrains.com/lp/mono/

  • @knightr1der
    @knightr1der 4 ปีที่แล้ว

    Vs code theme name??

    • @crypt1n4
      @crypt1n4 4 ปีที่แล้ว

      atom

  • @billpliske
    @billpliske 4 ปีที่แล้ว +1

    Did you just get a new camera, or am I slow to the take?
    Super-crisp 4k, dude. Big difference.

    • @hswolff
      @hswolff  4 ปีที่แล้ว +1

      Been using this same camera for a couple of months now. Whenever I film during the daylight I get to take advantage of all the natural light and things come out suuuuper nice.
      Thanks!

  • @oskrm
    @oskrm 4 ปีที่แล้ว

    Hi Lar... I mean Harry, Nice Tutorial.

    • @kzakaria91
      @kzakaria91 4 ปีที่แล้ว

      ?

    • @oskrm
      @oskrm 4 ปีที่แล้ว

      @@kzakaria91 Larry is his alter evil twin

    • @hswolff
      @hswolff  4 ปีที่แล้ว

      It is 👹
      He's always watching....

  • @RedExistence
    @RedExistence 4 ปีที่แล้ว +1

    Wow awesome little tutorial.. Would love to see more.. Keep hacking man

    • @hswolff
      @hswolff  4 ปีที่แล้ว

      I shall keep hacking!

  • @webdecodedwithfahad4414
    @webdecodedwithfahad4414 4 ปีที่แล้ว +1

    I am getting attracted towards it I don't want to but damn I am also typescript lover🙄

  • @pierre1360
    @pierre1360 4 ปีที่แล้ว +1

    honestly i feel like importing via url is the only feature i care about..

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

    thank you .. deno is not node killer (NO DE) = (DE NO)

  • @AdrianDucao
    @AdrianDucao 4 ปีที่แล้ว

    well how about this, let's just release new framework every 6 months like an iphone, cool new hottest fucking thing. not just frameworks or runtime release new databases every month so we can saturate the heck of the dev world, guess not enough make and publish clones of existing websites and services like facebook clone, twitter clone, instagram clone, tiktok clone, until there's too much zoom clone that can saturate the market and we won't the difference of tiktok and tiktok clone#80, guess npm dependencies not enough for you? we need to have 200+ dependencies per apps, no make every file and function a dependency to maximize the app dependency.