Simple Realtime in Gleam with Lustre Server Components

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

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

  • @PigeonOvO
    @PigeonOvO 2 дня назад +5

    A very good Intro to Server Components! I also loved how you explained when to use them in the end.

  • @JovanieHortilano
    @JovanieHortilano День назад +1

    I really enjoy your content, and I'm a big fan of Gleam as well! I've just started learning it, and I'm excited about its potential. I'd love to see you create a video on building a backend API with Gleam-that would be incredibly helpful! Looking forward to more of your videos. 😊

  • @fallingseasy
    @fallingseasy День назад

    I love your videos mate, just getting into Gleam again. You just get straight to the point with very concise information.
    (the code link 404s btw)

  • @알렉스-k7d
    @알렉스-k7d День назад

    I love this series so much thank you for making gleam content 🙏

  • @zmoney42069
    @zmoney42069 День назад

    Love the gleam content, thank you sir!

  • @AsherDMckoy
    @AsherDMckoy 2 дня назад +1

    Gleam is my new favorite language.

  • @paularmand4703
    @paularmand4703 2 дня назад +1

    I kinda like his video editing skills ;)

  • @alphabitserial
    @alphabitserial 2 дня назад

    Great video! I'm definitely interested in building an app with a mix of server and client components. Maybe a social media feed or a chatroom? 🤔

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  2 дня назад

      Sounds like a great use case for server components!

    • @guyloser2
      @guyloser2 День назад

      Try another project instead of another chatroom, media feed, Todo app, etc.

    • @alphabitserial
      @alphabitserial День назад +1

      @@guyloser2 Good to know that you're looking forward to my small learning exercises so much that you'd like for them to be new & exciting :)

  • @senthilramalingam9500
    @senthilramalingam9500 День назад

    Ohm Gleam....I love gleam....

  • @bloodqc
    @bloodqc 17 часов назад

    Any way to make client.mjs cacheable?
    Even better would be to have a hash in the name, and be able to use "cache-control: public, max-age=31536000, immutable".
    I would also be interested in seeing how to improve other lighthouse issues.

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  15 часов назад

      You can do whatever you like! It's your code 😉

  • @AsherDMckoy
    @AsherDMckoy 2 дня назад

    Say homie can you show us how to do some login and session functionality

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  2 дня назад

      Absolutely! I've recently implemented this in a (pre V1) library called Pevensie. You can have a look at the source for that if you like

    • @AsherDMckoy
      @AsherDMckoy 2 дня назад +1

      @@IsaacHarrisHolt Perfect I'm working on a school project right now, I'm making a payroll app and trying to use Gleam as the backend it's been great. Recently switched from using Rust for my last project

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  День назад

      Awesome! Gleam is wonderful for backend stuff

  • @Journ_786
    @Journ_786 2 дня назад +1

    Hey man is there any opportunity available to work with you as video editor? Let me know i can help to increase the watch time

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  2 дня назад +1

      My business email is available on the channel page. Send a pitch there.

    • @Journ_786
      @Journ_786 2 дня назад

      @@IsaacHarrisHolt I couldn't find.

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  2 дня назад

      It's in the about section

  • @udhaybegyall
    @udhaybegyall День назад

    Glem backend with Nextjs 15

  • @HaroldDefree-ow8kz
    @HaroldDefree-ow8kz 2 дня назад

    hello brother i hope these become the Next laravel in the future and to do these we need to create job and to do it we must build resource

  • @matress-4-2323
    @matress-4-2323 День назад

    way too much boilerplate for lustre. that's why i don't like elm architecture. also the view syntax is very unintuitive. gleam needs a macro that generates a jsx type of ast.

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  День назад

      The problem with XML stuff and Gleam is you need a preprocessor step and things can easily get out of sync. You'll learn the syntax pretty quickly.
      And boilerplate is good! I'd rather spend time typing and making something understandable than using layers of abstraction and creating a debugging nightmare

    • @matress-4-2323
      @matress-4-2323 20 часов назад

      @@IsaacHarrisHolt you say that for a small app but you will hate it when you do anything serious with it. elm architecture doesn't scale at all.

    • @IsaacHarrisHolt
      @IsaacHarrisHolt  15 часов назад

      It scales absolutely fine, you just have to be clever about state management, same as in any framework.
      Lustre also allows you to have "components" for more complex things like comboboxes, so you can avoid the complexity that Elm added there