Looks like we finally have a real contestant for the monopoly of JS in full-stack development
@IsaacHarrisHolt6 ай бұрын
Hopefully! Gleam is great
@callowaysutton6 ай бұрын
Monopoly? Hahahahaha If you only watch KZbinrs/Twitter maybe
@sadkebab6 ай бұрын
@@callowaysutton specifically I was talking about single language options and yeah you have Phoenix, Livewire and so on but they limit a lot what you can do client-side (that's why IntertiaJS is so popular for their reference frameworks)... so yeah JS is the only option that gives you "uncompromised" full-stack development.
@simonricard44036 ай бұрын
@@sadkebab I haven't encountered a single thing I couldn't do with Phoenix Liveview that I could do with an SPA framework. Just gotta use a JS hook for those few cases, but you still write 90% less JS versus using a traditional front-end framework
@sadkebab6 ай бұрын
@@simonricard4403 yeah and you have 90% more points of attrition. You will always build complex UXs faster with any JS metaframework. I think Phoenix is really great, don't get me wrong and it's great that it allows Elixir developers to build cool stuff without getting delving too much into JS. But rich UXs normally involve a lot of client-side stuff going on and unless you use something like InertiaJS on top of Pheonix, you will be slower and will struggle much more to get the job done. For simple webapps I don't think it really matter tho, use what you are confortable with and you'll get the best results.
@lowerclasswarfare6 ай бұрын
Really great explanation, speed (not too fast), and just a really well done video.
@IsaacHarrisHolt6 ай бұрын
Thank you!
@naomieowdev6 ай бұрын
Brilliant video as always Isaac!
@kollpotato6 ай бұрын
too much unnecessary gifs in my opinion
@IsaacHarrisHolt6 ай бұрын
Thanks Naomi!
@IsaacHarrisHolt6 ай бұрын
I'm trying to cut down the number, but creating the animations etc. takes a lot of time I don't have at the moment 😅
@cryptonative6 ай бұрын
who in the history of blasphemy orders pokemon alphabetically
@IsaacHarrisHolt6 ай бұрын
😂 that part of the program only has the names to go by! It's open source if you wanna upgrade it 😉
@cryptonative6 ай бұрын
@@IsaacHarrisHolt Jk! Thanks for the video mate
@IsaacHarrisHolt6 ай бұрын
Glad you enjoyed!
@cristobalgajardovera54336 ай бұрын
@@cryptonative Smogon does hahaha 🐒
@StingSting8443 ай бұрын
Me who doesn't know anything about Pokemon
@rajmajumdar52536 ай бұрын
I had to do doubletake while looking at that framework name lol 🤣🤣🤣🤣 Though i was recommended something else lmao 🤣🤣🤣🤣
@IsaacHarrisHolt6 ай бұрын
What do you mean 👀
@Heshamelfakharani6 ай бұрын
how long have these things been in development, this is great
@IsaacHarrisHolt6 ай бұрын
I'm not sure! A few years, I think
@hayleigh-dot-dev6 ай бұрын
Gleam has been in development for a few years now, but we officially released v1 in march. Lustre in its current from is about a year old at this point :)
@AsherDMckoy6 ай бұрын
Put a different trainer hat on the Gleam star for every video
@IsaacHarrisHolt6 ай бұрын
Haha good idea!
@らい-m7i6 ай бұрын
How do we handle having multiple routes?
@IsaacHarrisHolt6 ай бұрын
In this scenario you can render them separately, but typically you'd have a model per route, and this would exist as a field in a larger overall model that also stores global state. Check out the Modem library for client side routing
@らい-m7i6 ай бұрын
@@IsaacHarrisHolt Thank you! I'll try it out.
@codingszy6 ай бұрын
Whats the vim theme?
@IsaacHarrisHolt6 ай бұрын
AstroNvim
@JLarky6 ай бұрын
We didn't have SSR in the 90s, we had dynamic rendering. I'm going to die on this hill
@IsaacHarrisHolt6 ай бұрын
What do you consider to be the difference?
@JLarky6 ай бұрын
@@IsaacHarrisHolt there was no "server side" of PHP rendering :) PHP was always on the server. Only once technologies like React showed up we started talking about rendering our JavaScript apps on the "server side" as opposed to the normal "client side" :) basically the term SSR didn't exist until Next.js showed up
@IsaacHarrisHolt6 ай бұрын
@JLarky Sure, the term didn't exist, but the concept was the same. Server gets request and returns personalised/dynamic HTML to the client. I think the language has probably evolved, but I'm not sure the concept has
@JLarky6 ай бұрын
@@IsaacHarrisHolt it's not the same concept :) dynamic page generation includes SSR, but SSR is a more narrow concept that only makes sense when you have an isomorphic app (which we didn't have in 90s)
@IsaacHarrisHolt6 ай бұрын
I'm not sure I see what the actual differences are here. What does dynamic rendering do/allow that SSR doesn't?
@SpektralJo2 ай бұрын
I really dont like the idea of writing html using function composition
@IsaacHarrisHolt2 ай бұрын
How come?
@SpektralJo2 ай бұрын
@IsaacHarrisHolt I think it just looks off and includes a lot of visual noise like a lot of brackets (often semantically useles ones like [], if an element has no atributes) the html. prefix (or you have to import the functions you use) etc. I really just like looking at actual HTML way more.
@IsaacHarrisHolt2 ай бұрын
That's fair, but I don't think it's enough of a reason not to try Lustre. It's pretty great, and you get used to the syntax very quickly
@SpektralJo2 ай бұрын
@@IsaacHarrisHolt can you use lustre just on the Server. Because I want to try out htmx for the frontend
@IsaacHarrisHolt2 ай бұрын
Absolutely!
@someofmyinterests6 ай бұрын
Gleam is great, but Elixir with Phoenix Liveview is even better 😎😎
@IsaacHarrisHolt6 ай бұрын
What about Gleam liveview? 👀
@dandogamer6 ай бұрын
@@IsaacHarrisHolt yes would love to see a gleam phoenix project!!