FULL Introduction To HTMX Using Golang

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

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

  • @AWriterWandering
    @AWriterWandering 8 месяцев назад +1664

    Truly, there’s no more epic introduction than riding in on a man horse.

    • @NadidLinchestein
      @NadidLinchestein 8 месяцев назад +21

      Surely, the best intro in Tech

    • @itmeurdad
      @itmeurdad 8 месяцев назад +26

      The term "man horse" is considered offensive. Just because you don't agree with his alleged promiscuity doesn't mean you have to be so crass.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise 8 месяцев назад +12

      @@itmeurdadmost people will not realize how funny your comment really is, but I like to think I do. They deserve an equitable role in our society.

    • @nickname123321
      @nickname123321 8 месяцев назад +3

      His name is TJ

    • @MatichekYoutube
      @MatichekYoutube 8 месяцев назад +4

      only thing missing is skyrim battle music

  • @denitechYT
    @denitechYT 8 месяцев назад +1104

    That intro is the level of confidence I wish on everyone.

    • @fuckYTIDontWantToUseMyRealName
      @fuckYTIDontWantToUseMyRealName 4 месяца назад

      Especially with that crowd response.

    • @gonzalooviedo5435
      @gonzalooviedo5435 3 месяца назад +3

      He did that because is a celebrity in the field, so he can do that can of things. The ability of this man is something very hard to get, so he can allow to do that kind of things, it is not confidence, is confidence because you were validated over and over again, you cannot expect confident when you doesnt know your area of expertis enough.

  • @nil70n
    @nil70n 8 месяцев назад +239

    This is the intro I expect from any professional course from now on. A new industry standard is born.

  • @zerosumgame9071
    @zerosumgame9071 8 месяцев назад +405

    Wish I had the balls to walk into a classroom full of people and act like a degen twitch streamer. Mad respect

    • @XDarkGreyX
      @XDarkGreyX 8 месяцев назад +14

      I mean... he is in part a degen streamer.

    • @AvanaVana
      @AvanaVana 7 месяцев назад +3

      I would guess some people were in attendance at least partially for the degen twitch streamer antics. And the 90s-what-is-javascript-is-that-a-kind-of-java-applet vibes.

    • @petyahaha
      @petyahaha 5 месяцев назад

      You mean ride into a classroom?

  • @_ntds
    @_ntds 8 месяцев назад +437

    bro just uploaded a damn 2 hour vid in between streaming and uploading clips 24/7. truly GOAT.

    • @ThePrimeagen
      @ThePrimeagen  8 месяцев назад +201

      trying out here

    • @no_goo
      @no_goo 8 месяцев назад +1

      Seriously. Dude is off the chain!

    • @ivodelev9794
      @ivodelev9794 8 месяцев назад +28

      With 4 kids and beautiful wife :D

    • @xYassineX
      @xYassineX 8 месяцев назад

      @@ivodelev9794 also Netflix btw

    • @Gohealt
      @Gohealt 8 месяцев назад

      @@ivodelev9794 I would love to know as well how he manages all?

  • @ColinFox
    @ColinFox 8 месяцев назад +93

    I feel bad for Prime here - no laughter at the "horse", not a lot of interactivity from the audience. Tough crowd.

    • @lemon__snicker5973
      @lemon__snicker5973 7 месяцев назад +53

      It wouldn't surprise me if they muted the room mic for comedic effect. There's no way your instructor for the day enters the lecture hall piggybacked by a horse-masked dude and not a single person in the room even snickers. hahaha

    • @TopOtheMorntoya
      @TopOtheMorntoya 5 месяцев назад +8

      It is a room of programmers soooooo

    • @themellowpea
      @themellowpea 5 месяцев назад +5

      it seems the only mic is the boom above prime's head, so the mic probably didn't pick up the laughter in the room. though if you listen closely you can probably hear a chuckle or two

  • @bitcode_
    @bitcode_ 8 месяцев назад +268

    the name .... the introagen

  • @DerSolinski
    @DerSolinski 8 месяцев назад +45

    Not even 30 secs in and people already have the feeling no matter how abysmal the rest could be,
    it was every penny worth they spend.

  • @deado7282
    @deado7282 8 месяцев назад +80

    Epic introduction. Im convinced of everything u will say in that video.

  • @brionlund2467
    @brionlund2467 8 месяцев назад +168

    Someone jumps in with a completely incorrect movie title and prime just runs with it. Absolutely beautiful.

  • @Greediium
    @Greediium 8 месяцев назад +39

    Best walk onta a stage for a talk I have seen 10/10

    • @OpenDeepLearning
      @OpenDeepLearning 8 месяцев назад

      Does your name starts with R?

    • @Greediium
      @Greediium 8 месяцев назад

      @@OpenDeepLearning nope

  • @cw6913
    @cw6913 8 месяцев назад +203

    36:58 lmao almost let a graph-queel slip there

  • @Anonymous-vh9tc
    @Anonymous-vh9tc 5 месяцев назад +7

    coding aside, Primeagen is actually a god tier educator and communicator

  • @hazem-y7j
    @hazem-y7j 8 месяцев назад +77

    What an intro

  • @embeddedthought954
    @embeddedthought954 8 месяцев назад +83

    Getting the coconut oil ready

  • @XDarkGreyX
    @XDarkGreyX 8 месяцев назад +14

    The second I saw that thumbnail while sitting on the shitter is an experience I never knew I would come across and one that will never leave me till my last breath. Amen.

  • @someguy9440
    @someguy9440 7 месяцев назад +6

    Legend has it that audience bruh's copy of Air still doesn't run. Stellar intro overall - well done *salute* one tiny point of feedback: these kinds of tuts are a lot easier for n00bs to follow if you don't name everything form struct -> funcs -> block -> html -> vars the same Contact(s) word.

  • @mattmmilli8287
    @mattmmilli8287 8 месяцев назад +44

    LMAO that intro with dead silence 😂😂😂😂 what a champ

  • @Jaoheah
    @Jaoheah 8 месяцев назад +43

    You are a good speaker. I have no knowledge regarding coding, yet I watched this for some unknown reason.

    • @justdoitevelson
      @justdoitevelson 7 месяцев назад +2

      I'm in the same boat as you.

    • @usethisforproductivity-tg7xq
      @usethisforproductivity-tg7xq 3 месяца назад

      certified bum

    • @neithermanc1
      @neithermanc1 2 месяца назад +1

      he's an engaging presenter. i've never used golang or htmx once in my career but he makes me want to run thru a wall a lil bit to learn them

  • @mjdev-i1p
    @mjdev-i1p 8 месяцев назад +43

    Prime just broke the internet and will rebuild it using HTMX

  • @joaooliveirarocha
    @joaooliveirarocha 8 месяцев назад +10

    I... I can't stop repeating the first 30 seconds.What?
    edit: Ok I had to go to the end to check if your beautiful mount would appear again. I'm not disappointed.

  • @danboid
    @danboid 8 месяцев назад +5

    Best intro / entrance to a tech talk ever, agen!

  • @christopher8641
    @christopher8641 8 месяцев назад +6

    your energy is infectious.

  • @summussum7540
    @summussum7540 3 месяца назад

    Just got through this for a second time. Great demonstration of the ultimate power of HTMX. Been reading through the book, and it’s an amazing read.

  • @DavidBelliveau
    @DavidBelliveau 8 месяцев назад +4

    First run through I was bewildered. Second run through, it's starting to make sense. I don't code for a living, but my world-changing idea needs to get out there, so I figure by the 4th or 5th run through, this will all make sense to me and by then I'll have figured out Go.

    • @skunkwerx9674
      @skunkwerx9674 8 месяцев назад +1

      Sir, you can’t learn programming by just watching people do it. You need to also do it. You will not learn go after watching this 5 times, it’s impossible.

    • @DavidBelliveau
      @DavidBelliveau 8 месяцев назад +3

      I guess I didn't mention that I'm not just watching. I'm writing lots of code that doesn't work very well yet, but it gets a little better every day and RUclips helps as much as looking at the standard library and trying to figure that out.
      The first time I watched this, not much sunk in. I'll watch it again in a couple of weeks. Each time, more will make sense.

    • @lemon__snicker5973
      @lemon__snicker5973 7 месяцев назад +2

      @@DavidBelliveau Often RTFM-ing is invaluable, especially with respect to any given program's documentation. This is true of the most abstract kinds like the languages and utilities used to write the more specialized programs as well as the hyper-specific, practical software itself. The sooner you familiarize yourself with the manuals of whatever tools you choose, the better your development process will proceed. Dunno if your idea is genuinely world-changing, sounds a bit intense, but don't get too bogged down in over-optimization of your learning or productivity. "Perfect" is the enemy of good. Best of luck!

  • @flannn6
    @flannn6 8 месяцев назад +15

    You are my inspiration!
    Im go developer from a poor country. I love open source, sharing knowledge and helping others. Inspired by your course on algorithms and data structures (free btw) im teaching new students for free too. You are awesome, keep doing what you do with so much passion! Love from BR

    • @eyem9425
      @eyem9425 8 месяцев назад +2

      Brazil mentioned!

  • @elliotphoenix
    @elliotphoenix 8 месяцев назад +52

    This was Saul Goodman level of introduction

  • @UnhingedNW
    @UnhingedNW 8 месяцев назад +1

    Really excited that this is free! Thanks Prime and FEM.
    Very big fan of their format for courses(Students there asking questions is huge). Their UI/UX on their site is clean and the course page is sooooooooooooo much better than Udemy.

  • @kaasi8090
    @kaasi8090 8 месяцев назад +5

    Currently learning HTMX + TEMPL + GO out here and this came out thanks prime!

  • @excitedbox5705
    @excitedbox5705 7 месяцев назад +1

    The question about tab state management could be done using on click to store the state using any of the client side storage options to manage state. For extreme cases, you still have Hyperscript and even inline JS as options. The main thing to remember is that HTMX is meant to add interaction for smaller or one of use cases, where you don't need all the bells and whistles. I have seen way too many static 5 page sites using WordPress simply to add their contact form with recaptcha.

  • @TheHronar
    @TheHronar 8 месяцев назад +7

    I was literally looking for some good Golang/HTMX videos today.... Nice.

    • @pitzera
      @pitzera 8 месяцев назад

      Me too😂

  • @arpiliad7739
    @arpiliad7739 8 месяцев назад +5

    I am concerned about how tough that crowd is. I was laughing my ass off.

  • @disruptive_innovator
    @disruptive_innovator 8 месяцев назад +17

    oh yeah I remember "The Social Awkward" about Smuckerbork too.

  • @nabilfarhane6753
    @nabilfarhane6753 7 месяцев назад +1

    thank you for this introduction. twas my perfect jumping point for a side project

  • @bandr-dev
    @bandr-dev 8 месяцев назад +18

    so many memes you'd only get if you're in tech twitter

  • @bunajim413
    @bunajim413 5 месяцев назад

    Most amazing intro to HTMX. Wish all online courses would be on this level. Thank you so much.

  • @joshbedo8291
    @joshbedo8291 8 месяцев назад +7

    this intro is next tier, i also love how your some how out of breath even though you clearly rode in on bojack 😆

    • @justsomeguy8385
      @justsomeguy8385 4 месяца назад

      Have you ever done public speaking? Breathing properly can be a problem.

  • @SownJevan
    @SownJevan 8 месяцев назад +1

    Only a Monarch Developer would have such impeccable introduction.

  • @srijanraghavula
    @srijanraghavula 3 месяца назад

    That's banger of an intro. Prime is the only person from whom i'd learn using youtube videos. I hate learning from yt tutorials/courses/blah

  • @erikpaulsen3111
    @erikpaulsen3111 8 месяцев назад +17

    That intro was made by AI and cost 7000 dollars.

  • @Jabberwockybird
    @Jabberwockybird 6 месяцев назад +2

    When I tried htmx on my own, I wound up with a button giving birth to another button. It's probably a rite of passage for learning HTMX.

  • @alexandersemionov5790
    @alexandersemionov5790 8 месяцев назад +5

    I played many htmx videos on a loop. Especially the "contexte" one and many of Primes. Reason is, i quit front end because of React fatigue and started BE journey in hopes of adopting better practices FOR fe and better developer experience.

    • @circulardep
      @circulardep 5 месяцев назад

      React fatigue is a real thing.

  • @gonzalooviedo5435
    @gonzalooviedo5435 3 месяца назад +1

    Anyone who is talking about the confidence when he start the presentation!, please people!, he can do that because is a celebrity in the field, he is validated over and over again, so anyone can do that if you know in your interior that you are a master!. So, please do not expect this kind of validation of someone that does not know, in deep, the area of he is in. English is not my thing, sorry about it.

  • @sdi87hhk
    @sdi87hhk 8 месяцев назад +18

    That intro is textbook dominance assertion

  • @pollefevre817
    @pollefevre817 3 месяца назад

    Amazing video, really covers a lot of the subject in limited time. I'm very glad this came out to give me an entry-point into htmx. I'm surely gonna use it in a future pet project. Maybe event trying it at work. Thank you !

  • @0GarethHunt0
    @0GarethHunt0 4 месяца назад +1

    Nobody will probably see this but the MTU size 43:14 usually relates to the maximum payload size not the minimum.
    Ethernet Header: 14 bytes
    IP Header: 20 bytes
    TCP Header: 20 bytes
    Total Ethernet + IP + TCP Overhead: 14 + 20 + 20 = 54 bytes
    So make that count as small as possible! :D

    • @Vlad-xh9sy
      @Vlad-xh9sy 9 дней назад

      yes i was checking the same, and the payload is actually up to 1460 bytes so yeah send only the count.

  • @jamespritchard9451
    @jamespritchard9451 8 месяцев назад +2

    Prime is such a boss at teaching

  • @faithful451
    @faithful451 8 месяцев назад +2

    Gosh darn it I paid for this a month ago. Tthanks for doing this course. Really helped me learn how to use it with my golang project. I'd like to see more though - more Go courses. Do you do tutoring?

  • @adrymateoramon7087
    @adrymateoramon7087 8 месяцев назад +4

    OMGGGGGG the introductionnnnnn 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

  • @zebraforceone
    @zebraforceone 8 месяцев назад +2

    It is fucking crazy to me that there is hate for HTMX and yet there is thrills all around for Tailwind

  • @felixallistar
    @felixallistar 8 месяцев назад +1

    lmao you asked a live audience for twitch primes. i think that may be a first congrats fam and ty for this.

  • @elcapitan6126
    @elcapitan6126 6 месяцев назад

    love the awkward silence during the opening. just the sound of hooves

  • @colin_actually
    @colin_actually 8 месяцев назад +4

    Great timing w/ this vid. I just hopped on the Go/HTMX train for the first time. Planning to add this to my toolbelt.

    • @gentreshtani826
      @gentreshtani826 6 месяцев назад +1

      @colin_actually how's it going? I just hopped on this train as well. Any tips/tricks?

  • @user-hk3ej4hk7m
    @user-hk3ej4hk7m 8 месяцев назад +3

    thank you prime for the spaghetti slideware

  • @orterves
    @orterves 8 месяцев назад +18

    I think the HATEOAS name is part of why its adoption is avoided so much. I mean, it has HATE right there in the name.
    I think it should be called HEAPS - still "HTML as the Engine of APplication State" but it's heaps more fun sounding.

    • @SiddharthPant
      @SiddharthPant 8 месяцев назад

      That ship has sailed my friend, unfortunately.

    • @barneylaurance1865
      @barneylaurance1865 8 месяцев назад

      Maybe, but the H is H for Hypermedia, not H for HTML

    • @orterves
      @orterves 8 месяцев назад

      @@barneylaurance1865 ok

    • @orterves
      @orterves 7 месяцев назад

      @@barneylaurance1865 yeah well in my acronym the H should stand for HTML instead of Hypermedia

  • @AdreaSnow
    @AdreaSnow 8 месяцев назад +1

    Thank you so much for uploading this!! ❤

  • @potatoes_fall
    @potatoes_fall 8 месяцев назад +1

    this is the gosh darn video I needed. thanks gohtmxagean

  • @thomasgormanable
    @thomasgormanable 8 месяцев назад +3

    Do I know anything about GO or have any plans to use it or HTMX. No. Did I watch this anyway. Yes

  • @danielvega646
    @danielvega646 5 месяцев назад +2

    HTMX is so beautiful. It simplifies a lot of shits React just made up out of nothing.

  • @jangra_mohit
    @jangra_mohit 8 месяцев назад +1

    I knew it was gonna be good as soon as prime entered on a "horse"

  • @GautamRoy1990
    @GautamRoy1990 8 месяцев назад +11

    Wasn't it called "The Social Network" ?

  • @gima123123
    @gima123123 7 месяцев назад

    Best intro I've seen so far!

  • @Omikronik
    @Omikronik 8 месяцев назад +1

    another banger, good work Mr Prime

  • @JEM_GG
    @JEM_GG 8 месяцев назад +2

    super fun intro to htmx and go for me, ty prime

  • @mrmaniac9905
    @mrmaniac9905 8 месяцев назад +16

    Prime is such a great presenter

  • @notrab
    @notrab 8 месяцев назад +2

    Great intro! Halfway through and learned way more than just htmx too!

  • @frusanov
    @frusanov 8 месяцев назад +1

    Mayyyybe it's strange thing to say, but I have a great sleep listening this video

  • @josephangelodelosreyes4206
    @josephangelodelosreyes4206 8 месяцев назад +1

    Thanks for uploading to YT. Legend

  • @GerbenWijnja
    @GerbenWijnja 5 месяцев назад

    I don't know if anyone else said it already, but you get an invalid receiver type at 1:03:20 because you put an equals sign here: "type Contacts = []Contact" and the equals sign shouldn't be there.

  • @ProgrammingWIthRiley
    @ProgrammingWIthRiley 8 месяцев назад +5

    Where do you get all these people to sit in the audience?
    Do they work there?

  • @immaterial_vivi
    @immaterial_vivi 8 месяцев назад +2

    if you're following along on windows (i know, shameful) you have to set the -o flag of the build cmd in the .air.toml to something like ./tmp/main.exe; otherwise it breaks (which you deserve for running windows)

  • @MoamlRH
    @MoamlRH 2 месяца назад

    This is one of greatest introduction ever xD

  • @jcoronaz26t
    @jcoronaz26t 8 месяцев назад

    It's been ages since you uploaded to this channel, welcome back 🙂

  • @yash_renaissance_athlete
    @yash_renaissance_athlete 8 месяцев назад +4

    the name.... violating-a-horse-human-at-0:15 AGEN!!!!

  • @torphedo6286
    @torphedo6286 3 месяца назад

    I don't understand what a template or a route or a closure are, but I was able to make basic POST requests here! Last year I tried for several hours trying to figure out how to do a POST request and couldn't do it, but this was fairly simple and I *mostly* understand what's going on at a high level.

  • @romanzkv4
    @romanzkv4 6 месяцев назад

    what an amazing presentation - thanks prime

  • @Naeem2460
    @Naeem2460 3 месяца назад +1

    3:23 my guy really said "the social awkward" LMAO

  • @YariRu
    @YariRu 8 месяцев назад +1

    Absolutely (x156) fantastic (x298)!

  • @nguyenthanh1479
    @nguyenthanh1479 8 месяцев назад +1

    Thank you Prime!

  • @comosaycomosah
    @comosaycomosah 8 месяцев назад +1

    lmaoooo the ride in was majestic

  • @bastianwegge
    @bastianwegge 8 месяцев назад

    Thank you for this great piece of knowledge! You are awesome!

  • @rutujrunwal3579
    @rutujrunwal3579 8 месяцев назад

    Greatest entry of all time

  • @bzboii
    @bzboii 8 месяцев назад +2

    that ad scared the shit out of me

  • @joseph0x45
    @joseph0x45 8 месяцев назад +1

    if you told me yesterday that the first thing I would watch on youtube today is prime riding a man with a horse mask....well I could've believed you

  • @maximdzhuliy1037
    @maximdzhuliy1037 8 месяцев назад +1

    That into was epic

  • @J_A_Niss
    @J_A_Niss 8 месяцев назад

    The finest of mantaurs I've ever seen.

  • @germainst5603
    @germainst5603 7 месяцев назад +1

    *gets off the human horse*
    "I'm here to introduce you to HTMX"
    xddd dying

  • @talhaakram
    @talhaakram 8 месяцев назад

    Greatest intro of all time.

  • @laserlock6491
    @laserlock6491 7 месяцев назад

    Wow, so much information! I liked the presentation but can't help but think it was sped up.

  • @leonardoalipazaga8807
    @leonardoalipazaga8807 8 месяцев назад +1

    Epic introduction!!

  • @Humble_Electronic_Musician
    @Humble_Electronic_Musician 8 месяцев назад +2

    Good introduction to HTMX 🙂

  • @kusumaglawe5455
    @kusumaglawe5455 8 месяцев назад +1

    Epic entry ✨🔥

  • @codingjhames
    @codingjhames 8 месяцев назад +1

    00:00:00 to 00:00:22 --> epic entrance

  •  5 месяцев назад

    Really good intro to htmx!
    I really wonder one thing though, what setup are you running, laptop + that "pad"-looking display and kb+mouse? I've been looking for a external display to use for my laptop
    Again thank you for all you hard work

  • @TomNook.
    @TomNook. 8 месяцев назад +2

    OMG, he's even better in teacher mode than as a streamer 😂

  • @leitto-corleone
    @leitto-corleone 8 месяцев назад +3

    the slap was too personal

  • @cethien
    @cethien 8 месяцев назад +1

    personal recommendations for live reloading (since a lot of people use air):
    instead of air, i use bokwoon95/wgo.
    its a simple filewatcher, but much more powerful, due to having no need for a config file and command chaining (check docs) for concurrency.
    normal use is
    `wgo run main.go`
    since my apps with HTMX and templ need node (or bun in my case), my dev command looks like this:
    wgo -file .go go mod tidy :: go run cmd/main.go :: \
    wgo -file .templ templ generate :: \
    wgo -file .ts bun run build:js :: \
    wgo -file .templ -file .css bun run build:css
    in package.json
    build:css = tailwind -i input.css -o output.css
    build:js = bun build (...)
    1. ctrl + c kills all, so no need for any concurrency
    2. you can run anything with wgo
    i was not able to make something simple to use dlv yet, but theoretically you can build and run with wgo and set dlv target to the binary. still easier than air

  • @hephestosthalays2700
    @hephestosthalays2700 8 месяцев назад +1

    Majestic

  • @sfisodlamini54
    @sfisodlamini54 5 месяцев назад

    I just wrote my first Hello World just a few months ago, i can't see or understand a thing, imma keep pushing and come back to this at some point. if i still do not understand imma quit and hit the studio or sell something

  • @TeDynef
    @TeDynef 4 месяца назад +1

    I mean... On youtube you can pause after the intro but in rl?