Go Realtime in Gleam with Lustre Server Components

  Рет қаралды 10,137

Isaac Harris-Holt

Isaac Harris-Holt

Күн бұрын

Пікірлер: 60
@daniellionel01
@daniellionel01 Ай бұрын
This feels like a more low-level version of phoenix live view. There's so much magic going on in elixir and phoenix land, so I appreciate the fact that you have to wire everything up yourself for the learning effect. Love it!
@IsaacHarrisHolt
@IsaacHarrisHolt Ай бұрын
Yes! That's about right, but Lustre is more focused on individual components rather than making the whole run on the server
@PigeonOvO
@PigeonOvO 2 ай бұрын
A very good Intro to Server Components! I also loved how you explained when to use them in the end.
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
Thanks! Glad you found it helpful
@Sorasful
@Sorasful Ай бұрын
Great content! We can feel the effort you put into this, the animations, the topics ! Very cool ! Thanks for that.
@IsaacHarrisHolt
@IsaacHarrisHolt Ай бұрын
I'm glad you found it helpful!
@JovanieHortilano
@JovanieHortilano 2 ай бұрын
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. 😊
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
It's definitely on the cards!
@JovanieHortilano
@JovanieHortilano 2 ай бұрын
@@IsaacHarrisHolt nice!!!
@fallingseasy
@fallingseasy 2 ай бұрын
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)
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
Fixed! Thanks for letting me know
@알렉스-k7d
@알렉스-k7d 2 ай бұрын
I love this series so much thank you for making gleam content 🙏
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
I'm glad you're finding it helpful!
@z4k_20
@z4k_20 2 ай бұрын
Love the gleam content, thank you sir!
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
Glad you're finding it useful!
@AsherDMckoy
@AsherDMckoy 2 ай бұрын
Gleam is my new favorite language.
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
It's so good
@bloodqc
@bloodqc 2 ай бұрын
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 2 ай бұрын
You can do whatever you like! It's your code 😉
@ryoschinlot9153
@ryoschinlot9153 Ай бұрын
Did you read "Crafting interpreters" by any chance? You mentioned Lox, which is a toy language invented by the author of the book. If not, I would strongly recommend reading it, as it truly is a great book!
@IsaacHarrisHolt
@IsaacHarrisHolt Ай бұрын
I'm partway through it! The CodeCrafters Interpreters course is kinda like a practical walkthrough of that book
@paularmand4703
@paularmand4703 2 ай бұрын
I kinda like his video editing skills ;)
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
Thank you :)
@Journ_786
@Journ_786 2 ай бұрын
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 ай бұрын
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
@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 ай бұрын
@@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 2 ай бұрын
Awesome! Gleam is wonderful for backend stuff
@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!
@kowaihana
@kowaihana 2 ай бұрын
Try another project instead of another chatroom, media feed, Todo app, etc.
@alphabitserial
@alphabitserial 2 ай бұрын
@@kowaihana 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 2 ай бұрын
Ohm Gleam....I love gleam....
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
It's so goooood
@adpadillar
@adpadillar Ай бұрын
I think I’m too react pilled for this but it seems cool!
@IsaacHarrisHolt
@IsaacHarrisHolt Ай бұрын
No harm in giving it a go!
@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
@HaroldDefree-ow8kz
@HaroldDefree-ow8kz 2 ай бұрын
i am a laravel dev and i will like to see gleam go well
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
Awesome! Laravel is very cool
@udhaybegyall
@udhaybegyall 2 ай бұрын
Glem backend with Nextjs 15
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
You could, but I think Lustre works better!
@matress-4-2323
@matress-4-2323 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
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
@adaszko
@adaszko 2 ай бұрын
Can you point me to the combo box component code? I'm interested in the implementation
@IsaacHarrisHolt
@IsaacHarrisHolt 2 ай бұрын
@adaszko here you go: github.com/lustre-labs/ui/blob/v1/src%2Flustre%2Fui%2Fcombobox.gleam This is an implementation being worked on for the official Lustre UI package
The Ultimate Guide to Gleam Concurrency
13:36
Isaac Harris-Holt
Рет қаралды 23 М.
Slash Lustre Load Times with Server Side Rendering
9:01
Isaac Harris-Holt
Рет қаралды 7 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Gleam for Impatient Devs
8:46
Isaac Harris-Holt
Рет қаралды 71 М.
How to finally Git Good
9:43
Code Persist
Рет қаралды 76 М.
I built a library of code snippets for developers
5:09
Technophile
Рет қаралды 3,3 М.
From $erverless To Elixir | Prime Reacts
22:34
ThePrimeTime
Рет қаралды 120 М.
Create Robust Web Apps with Gleam and Lustre
12:32
Isaac Harris-Holt
Рет қаралды 40 М.
New Gleam Just Dropped
25:33
ThePrimeTime
Рет қаралды 87 М.
Gleam: Past, Present, Future! • Louis Pilfold @ FOSDEM 2024
40:33
Louis Pilfold
Рет қаралды 25 М.
You don't need loops
10:20
Isaac Harris-Holt
Рет қаралды 13 М.
Это лютый угар 🤣 | приколы Арсен Симонян
0:14
Арсен Симонян
Рет қаралды 294 М.
ЛАЙФХАК НА КУХНЕ ! 🧐🤦🏻‍♂️ #shorts #лайфхак
0:15
Крус Костилио
Рет қаралды 109 М.
три кошака и ростелеком
0:26
Мистер Денала
Рет қаралды 2,4 МЛН