Modern Web With Go and HTMX

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Building a small app with HTMX and Go.
    💬 Topics:
    - What is HTMX;
    - HTMX Tutorial;
    - Go Tutorial;
    - Working with Go Standard Library;
    - How to structure an HTMX app;
    - Alternative to JS frameworks;
    - Easy to use tech stack;
    - Build a simple web app.
    Github Code - github.com/awe...
    Patreon - / awesomeclub
    #javascript #htmx #go

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

  • @carlosmspk
    @carlosmspk 11 หลายเดือนก่อน +262

    This is netiher here nor there but I find incredible how you mathmatically tone your voice in 2 to 4 repetitions of the same pattern which end in an higher pitchm followed by a different pattern which ends in a lower pitch, followed by a short pause, and then repeat it all over again. It's not annoying or anything, it's just a curious detail

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +105

      I think this is the funniest comment I have ever read on one of my videos.

    • @carlosmspk
      @carlosmspk 11 หลายเดือนก่อน +11

      @@awesome-coding hahaha glad you didn't take it to heart!

    • @CristinaSilvaEng
      @CristinaSilvaEng 11 หลายเดือนก่อน +5

      I came here thinking the same thing! The musicality in the voice is captivating.
      Also, great content! One more sub to the channel: I'll try that stack in a side project of mine.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +3

      @@CristinaSilvaEng Thank you!

    • @zyriab5797
      @zyriab5797 11 หลายเดือนก่อน +6

      It's making me crazy but the content is too good so I suck it up and learn

  • @mickhuby8786
    @mickhuby8786 11 หลายเดือนก่อน +114

    Would love to see more GO + HTMX content :)

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +23

      Will do! Thanks for the suggestion!

    • @thewallacepf
      @thewallacepf 11 หลายเดือนก่อน +2

      Me too

    • @pkop4
      @pkop4 11 หลายเดือนก่อน +6

      @@awesome-coding Me too. Showing various patterns, maybe adding Templ would be great

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj 7 หลายเดือนก่อน

      in many videos they use htmx with go but with added alpine.js
      it shows that htmx isnt actually as good as people think and overhyped ,

  • @armynyus9123
    @armynyus9123 11 หลายเดือนก่อน +69

    I love your little index finger emoticon, pointing to the places in the code which you talk about. Makes it so much more enjoyable to watch w/o the constant fear of loosing it, while reading.
    Thanks for the effort, it's really worth it!
    Subbed.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      Glad you enjoy it! Thank you for the sub!

    • @theseangle
      @theseangle 11 หลายเดือนก่อน

      ​@@awesome-codingyep I agree with him completely about the index finger emoji ☝️

  • @ai_coding
    @ai_coding 11 หลายเดือนก่อน +9

    thank you for making the video short and to the point. subscribed.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Glad it was helpful!

  • @TechBuddy_
    @TechBuddy_ 11 หลายเดือนก่อน +46

    Go std and deno std ( which is very much inspired by go std ) are sooo good, no huge dependencies and node_modules just the language features and a complete standard library which is all you need for most use cases

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +10

      Yep! Do you know who else has a great standard library? JAVA! 😅

    • @tonchozhelev
      @tonchozhelev 11 หลายเดือนก่อน +12

      ​@@awesome-codingHard disagree, Java has a huge std, but it isn't all that good imo - at the very least, because you have to write Java to use it 😂

    • @flamendless
      @flamendless 11 หลายเดือนก่อน

      Soon, there will a go package for is-even and is-odd 😂

    • @trustytrojan
      @trustytrojan 11 หลายเดือนก่อน

      ​​​@@tonchozhelevjava's data structures are perfect imo, but man java swing and javafx are the most confusing gui frameworks known to man, i have a whole github repo *just* for extending java swing classes into cleaner interfaces 💀

    • @TechBuddy_
      @TechBuddy_ 11 หลายเดือนก่อน +3

      @@awesome-coding yes but the difference is I can build a server in go with the STD lib in like 5 lines but definitely more than 5 lines in java. File io, network requests, json, are all very easy in go. One good thing in java is the streams API

  • @Razpirato
    @Razpirato 11 หลายเดือนก่อน +59

    It’s minimalist now, but by the time you finish the project you basically recreated Ruby on Rails.

    • @neociber24
      @neociber24 11 หลายเดือนก่อน

      At that point just use a library

    • @OM-bs7of
      @OM-bs7of 11 หลายเดือนก่อน

      Exactly

    • @markmental6665
      @markmental6665 10 หลายเดือนก่อน +3

      And then you know exactly how it works in your own way

    • @OM-bs7of
      @OM-bs7of 10 หลายเดือนก่อน +3

      @@markmental6665 but no one else will

  • @mariusailisoaie183
    @mariusailisoaie183 11 หลายเดือนก่อน +12

    I'm interested in the Go + HTMX stack and I was so happy when I saw your video 😁. Keep up the good work.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Glad to hear! Thank you!

  • @eddbot-hh5ed
    @eddbot-hh5ed 11 หลายเดือนก่อน +32

    Nice - but we should probably cache the templates as the application starts up, and only execute them in the handlers.
    Makes things a bit more efficient than having to IO on every HTTP request

    • @TheNewton
      @TheNewton 11 หลายเดือนก่อน +1

      simple !~= efficient

  • @pylotlight
    @pylotlight 11 หลายเดือนก่อน +9

    Add in chi for the simplest route hanlding and templ for the best templates and you've got the perfect stack ;)

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +6

      I would, but then the Go devs will complain :))

    • @pylotlight
      @pylotlight 11 หลายเดือนก่อน

      @@awesome-coding pssh as a Go hobby dev its the best stack + chi is basically just one step next to std lib using std libs underneath so can't go wrong there.

    • @TechBuddy_
      @TechBuddy_ 11 หลายเดือนก่อน

      Templ and the go html are both pretty awesome but I am not fully sold on templ though, feels like jsx 😂 but chi very good

  • @Joe-sm7mf
    @Joe-sm7mf 7 หลายเดือนก่อน

    Short and sweet video, I dig it. It is pretty rare for a tech stack to not include some kind of DB though, especially when touting it as scalable.

    • @awesome-coding
      @awesome-coding  7 หลายเดือนก่อน +2

      Glad you enjoyed!
      You are right about the database. I'm going to address this in one of my next videos for certain.

  • @crab-cake
    @crab-cake 11 หลายเดือนก่อน +1

    i like your accent as a native english speaker. don't be discouraged by the comments.

  • @kirillgimranov4943
    @kirillgimranov4943 11 หลายเดือนก่อน +7

    It's a great stack and I'm using it rn but in the stack presented by the video author another important part of any web stack is missed - db. U need to add some db to your stack at least, and maybe some tool to use it from the code (like db drivers, query builders or entire ORMs)

    • @deathbooker7466
      @deathbooker7466 11 หลายเดือนก่อน +3

      embed sqlite in your go binary my dude

    • @pylotlight
      @pylotlight 11 หลายเดือนก่อน +1

      Not every project needs a db, so for a video about keeping it simple it makes sense to only include the core technologies for web as was shown in the video.

    • @kirillgimranov4943
      @kirillgimranov4943 11 หลายเดือนก่อน +2

      The ways you guys suggest are so far from any non hello world projects fellas

    • @TechBuddy_
      @TechBuddy_ 11 หลายเดือนก่อน

      @@kirillgimranov4943 Sqlite is not bad
      If you want more sqlz and postgres are my go-to choice

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      @kirillgimranov4943 a very good point!
      I briefly mentioned storing data in the DB, but didn't get into details.
      I'd probably use Turso to keep things really simple.

  • @dovh49
    @dovh49 11 หลายเดือนก่อน +2

    Nice and simple. A little more complex than an MPA though 😛. But yes, it takes away much of the complexity for basic apps.

  • @sauravadhikari8645
    @sauravadhikari8645 11 หลายเดือนก่อน +1

    Sir,
    Thank you 🙏
    Keep this going sir keep this going. I love these kinds of videos.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Thank you for the kind words!

  • @manyes7577
    @manyes7577 5 หลายเดือนก่อน

    3 minutes tutorial is awesome

  • @Noritoshi-r8m
    @Noritoshi-r8m 11 หลายเดือนก่อน +5

    HTMX mentioned

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      and the views go through the roof

  • @rajat0610
    @rajat0610 11 หลายเดือนก่อน

    super clean starting tutorial!
    thanks!

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Glad it helped! Thank you!

  • @acelaox6836
    @acelaox6836 11 หลายเดือนก่อน +4

    This is a very based tutorial, Thanks for covering minimalism in web dev!
    Why did you choose Go for the backend? compatibility?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +9

      Hey, thanks for the feedback!
      I picked Go because I wanted to keep things simple but still use really powerful tools.
      You could use Node as the backend, but, in my opinion, JavaScript doesn't really scale well due to memory consumption among others.
      At the end of the day, you still have your "goto" languages for proper backend development:
      - Java - too boilerplatey for the purpose of this video;
      - Kotlin maybe? but you still rely on the JVM, so it's a bit more difficult to grasp.
      - Python - could be a good option, but Go is almost as simple while providing way better performance;
      - Maybe Rust since it is so popular these days but it is far too difficult compared with some of the alternatives;
      - A lot of other solutions I'm sure I'm missing.
      Go has the right amount of simplicity and power in my opinion, and I'm saying this coming from a Java background, and while I still prefer Kotlin over everything else these days.

  • @MrKeliv
    @MrKeliv 11 หลายเดือนก่อน +6

    Please do more example like CRUD with datatable. I think this is more interesting and sounds like common use all new programmers like me 😂

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      Will do! Thank you for the suggestion!

    • @MrKeliv
      @MrKeliv 11 หลายเดือนก่อน

      @@awesome-codingThank you. I will waiting

  • @accessibleguidance
    @accessibleguidance 2 หลายเดือนก่อน

    One of your premises was multi page app but you made a single page app based on your go programming and HTML markup. In the head HTML template can you explain integrity attribute and crossorigin with anonymous property?

    • @awesome-coding
      @awesome-coding  2 หลายเดือนก่อน

      The integrity attribute solves the problem we recently had in the space with the Polyfill attach (more details here: th-cam.com/video/F4h_N1Cz5dE/w-d-xo.html)
      Basically when you are downloading from a 3rd party URL the provider of that script could change it without you knowing. So one day you are downloading HTMX, the next day all your users download a JS malicious script that mines bitcoin. The integrity attribute associates a unique hash with that initial script, so if the content of the script is changed by the provider, the new script hash will not match with the integrity and the browser will not download the script anymore.

  • @nathanoy_
    @nathanoy_ 11 หลายเดือนก่อน +1

    Awesome as always!

  • @Wo0dY101
    @Wo0dY101 6 หลายเดือนก่อน

    Wish I could like this twice

  • @EightSixx
    @EightSixx 11 หลายเดือนก่อน

    need more of this!

  • @illegalsmirf
    @illegalsmirf 11 หลายเดือนก่อน +2

    is it simpler than php and jquery?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      Hmm good question - I'd say it's more reliable

  • @mountainslopes
    @mountainslopes 11 หลายเดือนก่อน +2

    I’d love to see the sheet music for this instructional 🎼

  • @tcdnbm
    @tcdnbm 11 หลายเดือนก่อน +3

    great video! what would you recommend for hosting the client and server side code here? would ecs be a good choice or is there something similar that's well priced?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Thank you!
      You can actually host it directly on an EC2 instance, which is very reasonably priced.

    • @tcdnbm
      @tcdnbm 11 หลายเดือนก่อน

      @@awesome-coding both client and server on ec2, or just the server on ec2 and the client on cloudfront?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      @@tcdnbm In this setup the client will be the HTML rendered on the server.
      So you just need the Go service deployed in ec2, and that's it!

    • @tcdnbm
      @tcdnbm 11 หลายเดือนก่อน

      @@awesome-codingi understand you, thanks for the help :)

  • @laughingvampire7555
    @laughingvampire7555 11 หลายเดือนก่อน +6

    Java Developers hate it when you don't use AbstractFactoryFactoryAbstractFactoryOneOfTenThousand

    • @stretchchris1
      @stretchchris1 11 หลายเดือนก่อน

      JS developers hate it when you don't use LatestLatestNewestBuzzwordLibraryOneOfTenMillionReleasedToday

  • @ceving865
    @ceving865 9 หลายเดือนก่อน

    I can not see where the input validation happens in HTMLX.

  • @toanduongthanh8625
    @toanduongthanh8625 8 หลายเดือนก่อน

    Subcribe because detail explanation, nice presentation

  • @Svengtz
    @Svengtz 7 หลายเดือนก่อน

    It’s nice but seeing this I always think to myself „we are all the way back to PHP again“ ^^

    • @awesome-coding
      @awesome-coding  7 หลายเดือนก่อน +1

      I didn't hear the news?! PHP is cool again!

  • @boilingsoup
    @boilingsoup 11 หลายเดือนก่อน +1

    Should cache your go templates so it's not parsing each time you receive a request.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      This is a very good point - thank you!

    • @boilingsoup
      @boilingsoup 11 หลายเดือนก่อน

      ​@@awesome-codingsure thing. You're videos are looking great keep it up 🤙

  • @theyioel
    @theyioel 7 หลายเดือนก่อน

    THANK YOU

  • @jabuci
    @jabuci 7 หลายเดือนก่อน

    Replace Go with Flask or FastAPI and it's even simpler.

    • @awesome-coding
      @awesome-coding  7 หลายเดือนก่อน

      I am really trying to like Python, but I just can't do it 😅🥲

    • @jabuci
      @jabuci 7 หลายเดือนก่อน

      @@awesome-coding I feel your pain. Its zero-BS approach is annoying sometimes.

  • @georgeFulgeanu
    @georgeFulgeanu 11 หลายเดือนก่อน +1

    Is history repeating itself ? Wasn't this the way to work with server side rendered pages 20 years ago?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      Yep... the old way is the only way 😅

  • @Aditya-nc7hq
    @Aditya-nc7hq 11 หลายเดือนก่อน

    AWESOME STACK

  • @DevAnon
    @DevAnon 11 หลายเดือนก่อน

    any place to see it live? curious how fast it is to load.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      here is the repo - github.com/awesome-club/go-htmx

  • @DanelonNicolas
    @DanelonNicolas 11 หลายเดือนก่อน

    Scalable... Hmmm what if I need to use that API for a mobile application?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      That's s different usecase all together. In that case you would extract the backend logic into a REST API which can be consumed by various clients.

  • @CodyDBentley
    @CodyDBentley 11 หลายเดือนก่อน

    2:07 caption, I see what you did there lol

  • @JuanPabloAJ
    @JuanPabloAJ 11 หลายเดือนก่อน

    thanks for the video. with HTMX and Go, how can you receive events from the server? for example, all the connected users receive a notification.
    please could you add the link to the code in the description? in that way is easier to find.

    • @garretmh
      @garretmh 11 หลายเดือนก่อน

      You can use polling as an event trigger just like user input or there's an official websocket extension. It's all in the HTMX docs.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Here is the code - github.com/awesome-club/go-htmx

  • @realdaly
    @realdaly 8 หลายเดือนก่อน

    Idk anything about Go or PHP but I watched another video about PHP and HTMX and I find your stack way more complicated.

    • @Joe-sm7mf
      @Joe-sm7mf 7 หลายเดือนก่อน

      It has been 7 years since I have touched PHP so my info could be out of date but from what I remember and what collogues who have worked with PHP in the last couple years say that this comment is probably wrong in the long run. However, if you think it is less complicated then you should use what you think is best for your project(s) and learn for yourself.

  • @qwoolrat
    @qwoolrat 11 หลายเดือนก่อน

    hey you left ur api key in the git repo

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Thanks for mentioning it.
      That key is revoked, so it's not really usable anymore.
      Good catch though!

  • @maurolimaok
    @maurolimaok 11 หลายเดือนก่อน

    What font is being used on video?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Most of it is "Futura".

    • @maurolimaok
      @maurolimaok 11 หลายเดือนก่อน

      @@awesome-coding Thanks, for the answer and the videos, but I noticed that Futura font do not have the dot inside the zero character.
      Could it be a variation?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      @@maurolimaok Hmm - maybe you are referring to the code inside the actual text editor? That is JetBrains Mono.

    • @maurolimaok
      @maurolimaok 11 หลายเดือนก่อน

      @@awesome-coding Thanks. Exactly that.

  • @Fizzify
    @Fizzify 11 หลายเดือนก่อน

    What text editor do you use?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      I'm using IntelliJ IDEA with its new UI - www.jetbrains.com/help/idea/new-ui.html

    • @Fizzify
      @Fizzify 11 หลายเดือนก่อน

      @@awesome-coding What icon theme and theme and font do you use?

  • @JammUtkarsh
    @JammUtkarsh 11 หลายเดือนก่อน

    Building a similar project
    With Similar stack

  • @bear458ziif-s
    @bear458ziif-s 11 หลายเดือนก่อน

    do graphul (not graphql), sqlx, htmx

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      I'll look into it. Thank you for suggesting it!

  • @naranyala_dev
    @naranyala_dev 11 หลายเดือนก่อน

    req: hono and htmx

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Noted - will do!
      Thanks for the suggestion!

  • @dc366
    @dc366 11 หลายเดือนก่อน

    this is too complex for something that needs to be simple. Those function calls are long and crazy! Good luck trying to remember them

  • @KevbotSSBM
    @KevbotSSBM 11 หลายเดือนก่อน

    link to source code? thank you

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Here it is - github.com/awesome-club/go-htmx

  • @Lannington
    @Lannington 11 หลายเดือนก่อน

    Pease do a video on GO + HTMX + A Database. Just want to see how it all works together

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +2

      It's on my list - will do!

  • @makhmudjonjamoldinov3554
    @makhmudjonjamoldinov3554 11 หลายเดือนก่อน

    Try NEXTJS 13 with prisma and other libraries. U dont have to build all the request/responses and routing. In 2023 this looks soooo primative on the server side

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      I actually have some Next & Prisma videos on this channel.

    • @buc991
      @buc991 9 หลายเดือนก่อน +1

      it's not that go is primitive, it's nextjs overengineered for simple things, and overall just sucks, and i love react itself, but nextjs is so bad.

    • @awesome-coding
      @awesome-coding  9 หลายเดือนก่อน +1

      @@buc991 What's your take on React these days, with all their server actions efforts?

    • @buc991
      @buc991 9 หลายเดือนก่อน

      @@awesome-coding well they are optional, so you can just not use them, and on client all will be same, but I don’t like direction they are moving to with this use server/use client, it’s very weird api, and also nextjs stuff in react docs is very strange.

  • @seasong7655
    @seasong7655 11 หลายเดือนก่อน

    Ngl it doesn't look simpler than python and flask. It looks to be on the same level of simplicity and doing the exact same thing.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      But the advantage would be that you are relying on Go instead of Python, which is arguably a more performant runtime.

  • @00flydragon00
    @00flydragon00 11 หลายเดือนก่อน

    I'm doing something similar right now, except i use websockets instead of HTMX, which is better and why?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Do you have a custom implementation on the frontend for the socket communication?
      I think each approach has its usecases. Sockets are great, but they add complexity on both the backend and the frontend. However, it brings real time features into your app.
      HTMX is just dead simple - no headaches, no nothing.

    • @00flydragon00
      @00flydragon00 11 หลายเดือนก่อน

      @@awesome-coding yes it's a hassle to configure the communication using json back and forth. Do you have a discord where we can discus this further?

  • @ryanlog
    @ryanlog 11 หลายเดือนก่อน

    Where's the code bruh ?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Here it is - github.com/awesome-club/go-htmx

  • @boomshakalaka656
    @boomshakalaka656 11 หลายเดือนก่อน

    The nerves to call this simple in any capacity over just using something create vite app is amazing 😂

  • @ancwhor
    @ancwhor 11 หลายเดือนก่อน

    ah yes. so easy. all you have to do. is read moon runes :D

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      😅

    • @ancwhor
      @ancwhor 11 หลายเดือนก่อน

      No hard feelings. To each their own. I'll just be writing a 100 if statements 😂😂

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      @@ancwhor 100 if statements? All I hear is job security!

    • @ancwhor
      @ancwhor 11 หลายเดือนก่อน

      @@awesome-coding 😂😂😂😂

    • @LaughingOrange
      @LaughingOrange 11 หลายเดือนก่อน

      @@ancwhor If those are else/if statements, consider switch/case. It's much faster, and in my opinion more readable.

  • @jcy089
    @jcy089 11 หลายเดือนก่อน

    HTML + jQuery + S3 😏

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      ha! You might have broken the web dev space...

  • @meka4996
    @meka4996 11 หลายเดือนก่อน

    No Javascript? only static pages?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      Could work. I feel like users are accustomed to a smoother UX these days, so some async actions still have to be performed (rendering search results for instance is pretty much linked to the suggestion dropdown).

  • @krtirtho
    @krtirtho 11 หลายเดือนก่อน

    Why do I feel stupid?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Don't worry - we all feel the same way :))
      I actually made a video on this exact topic - th-cam.com/video/ntzuRtFZ8KM/w-d-xo.html

    • @LaughingOrange
      @LaughingOrange 11 หลายเดือนก่อน

      This kind of video makes it look way easier than it is. You're not stupid for figuring out a solution that works in half the time they took to make this code as clean as possible.

  • @bambamsounds
    @bambamsounds 11 หลายเดือนก่อน +2

    your intonation is actually making it harder for me to follow as I find it very distracting (i am a native english speaker fwiw)

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Sorry to hear that - I'm sure I sound horrific to native speakers.
      I'm working on both the accent and the intonation, but it's pretty much the hardest thing to fix on these videos 🤦‍♂️

    • @bambamsounds
      @bambamsounds 11 หลายเดือนก่อน

      @@awesome-coding no, your accent is great and very clear, dont doubt yourself. its just the intonation you are using is mechanical, you seem to be raising your pitch every few words in a repetitive rhythm before going down at the end of each sentence, its predictable which is what makes it almost hypnotic (for me personally). Intonation can and should be used much more organically. Intonation is used to convey additional 'information' to the listener, If I know when a change in intonation is coming (because its following a predicatble rhythm), then I dont need the intonation! It might be worth just talking as though you were talking to a friend and not trying too hard to sound 'polished'. All the best.

  • @marcusrehn6915
    @marcusrehn6915 11 หลายเดือนก่อน

    Calling Go simple is true, but it feels wrong 😅

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      The perspective is everything 😅
      Is it simpler than Rust - sure!
      Is it simpler than JS - not really...
      But for a backend strongly typed scalable performant solution it is pretty simple.

    • @marcusrehn6915
      @marcusrehn6915 11 หลายเดือนก่อน

      @@awesome-coding I think Go is simple from a language designers perspective and from the perspective of someone who wants to get up and running quickly. But it lacks so many features that I rely on in the 21th century. So I would argue that for day to day use, it doesnt seem so simple. Its incredibly verbose.

    • @joseph0x45
      @joseph0x45 11 หลายเดือนก่อน +2

      first thing Go taught me is that simple is not easy :D

    • @marcusrehn6915
      @marcusrehn6915 11 หลายเดือนก่อน

      @@joseph0x45 go does hit the mark on both when it comes to thread abstraction though. At least as well or better than any other language.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      @@marcusrehn6915 what's your preferred language?

  • @janakaone
    @janakaone หลายเดือนก่อน

    Guy with a swiss accent?

    • @awesome-coding
      @awesome-coding  หลายเดือนก่อน +1

      Romanian accent 😅

    • @janakaone
      @janakaone หลายเดือนก่อน

      @@awesome-coding so cool. Thank you

  • @xtraszone
    @xtraszone 11 หลายเดือนก่อน

    Its useless when you have to reuse these APIs in mobile apps

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Right - that's a different use case

  • @abdulmoiz2086
    @abdulmoiz2086 11 หลายเดือนก่อน

    your senario is way too simple. what if you need shared state between components? or maybe a global state?

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Usually when state is shared, it can be done via the backend, when the page is rendered.
      On top of that HTMX can be paired with JS code if that's really necesssary.
      Remember that apps were able to share state on the UI just fine, even before the SPAs were introduced.

  • @plusone.network
    @plusone.network 11 หลายเดือนก่อน +3

    Prime is going to LOVE this

  • @SpeakChinglish
    @SpeakChinglish 8 หลายเดือนก่อน

    Simple, maybe. Scalable, no.

  • @michaeldausmann6066
    @michaeldausmann6066 11 หลายเดือนก่อน

    Congrats, your solution that does very little, doesn't have much complexity.

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      You sound like my wife 😅

  • @GoldenBeholden
    @GoldenBeholden 11 หลายเดือนก่อน

    I respect the simplicity, but this workflow won't scale as well as a proper front-end framework will.

  • @Zeus_Was_Here
    @Zeus_Was_Here 11 หลายเดือนก่อน

    No thanks

  • @devope
    @devope 11 หลายเดือนก่อน

    what is "simple" about it? it is just regular with a lot of things to cover. just demo

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      I believe the architecture is rather simple - plain server side rendering with no JS written on the frontend.

  • @vaisakhkm783
    @vaisakhkm783 11 หลายเดือนก่อน

    too bloated... I am going back to React and java

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Nice! I would replace React with Angular just to be sure I'm sticking with the lightweight stuff!

    • @vaisakhkm783
      @vaisakhkm783 11 หลายเดือนก่อน

      @@awesome-coding that's even better :)

  • @TurkeyMaster
    @TurkeyMaster 11 หลายเดือนก่อน

    Looks...too complicated ... Like we go back in time when creating the entire HTML on backend was a thing.. which means, it require a developer to understand Backend (GO) and Frontend(HTML).. In the end... its like a fullstack position for someone with 5+ years on both technologies...

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน +1

      HTML on the backend IS a thing though, right? All UI frameworks are doing SSR these days, and most of them are actually arguing that SSR (or at least a hybrid approach) is the preferred option.

    • @pylotlight
      @pylotlight 11 หลายเดือนก่อน +2

      Better than having 5 wasted years in react.

    • @TechBuddy_
      @TechBuddy_ 11 หลายเดือนก่อน

      Well if I am using a modern js framework I still have to learn a templating language ( jsx, svelte, vue etc ), the server part of the framework ( server actions, load functions, loaders ( remix ), getServerSideProps etc ) the framework specific routing etc etc
      You still do the same thing but you write less js if you use go which is a good thing IMO

  • @paulwillisorg
    @paulwillisorg 3 หลายเดือนก่อน

    Too much up talking. Just talk naturally.

  • @daddy7860
    @daddy7860 6 หลายเดือนก่อน

    I wonder how feasible it is to make a PWA with HTMX + Go

    • @awesome-coding
      @awesome-coding  6 หลายเดือนก่อน

      Definitely an idea worth exploring :)

  • @staynjohnson4221
    @staynjohnson4221 11 หลายเดือนก่อน

    What about building maintenance tracker, ERP softwares with dashboards, tables and search features? Which stack is a better choice?

    • @TheNewton
      @TheNewton 11 หลายเดือนก่อน

      this is a simple stack , those are not simple things with no choice "better" than another at that level of detail.

  • @snowwsquire
    @snowwsquire 11 หลายเดือนก่อน

    this app would be improved if the stocks were retrieved on the client side tbh

    • @awesome-coding
      @awesome-coding  11 หลายเดือนก่อน

      Right, it might not be the best use case for SSR and HTMX.

  • @tobyzieglerrr
    @tobyzieglerrr 11 หลายเดือนก่อน

    Thats a stack i like

  • @funkdefied1
    @funkdefied1 11 หลายเดือนก่อน

    I wonder how Go’s http.FileServer function compares to a prebuilt proxy/server like NGINX. To me, it makes sense to do most of my routing through NGINX. Why reinvent the wheel? But idk I know this is about simplicity.