Video of "Frontend Ruby with Glimmer DSL for Web" at Ruby on Rio 2025-06-06
A video has been uploaded of the Ruby on Rio 2025-06-06 talk I gave:
"Frontend Ruby with Glimmer DSL for Web". It covers Glimmer DSL for
Web, the Frontend Ruby on Rails gem that won a Fukuoka Prefecture
Future IT Initiative 2025 award by Matz, the creator of Ruby.
is it possible to use glimmer in rails views, like replacing or in combination w erb/haml/slim/etc.
Yes, of course. Glimmer DSL for Web is designed to be used in Rails
Views (ERB, HAML, or SLIM) via a Rails helper. You do so by utilizing
the glimmer_component Rails helper as documented here:
That lets you embed any Glimmer Frontend component inside a Rails View.
Here is an example of using it in a Rails sample app:
I do highly recommend that you go through all the samples of the
project to learn it well. It's the best way for learning the project
in addition to watching one or more of the project talk videos.
are there plans along the lines of "pure ruby"; that is, beyond or no more
templating (erb/etc), possibly pure glimmer. is that possible?
···
On Fri, Dec 26, 2025 at 6:09 PM Andy Maleh <andy.am@gmail.com> wrote:
In response to your question:
> is it possible to use glimmer in rails views, like replacing or in
combination w erb/haml/slim/etc.
Yes, of course. Glimmer DSL for Web is designed to be used in Rails
Views (ERB, HAML, or SLIM) via a Rails helper. You do so by utilizing
the glimmer_component Rails helper as documented here:
I do highly recommend that you go through all the samples of the
project to learn it well. It's the best way for learning the project
in addition to watching one or more of the project talk videos.
On Fri, Dec 26, 2025 at 4:24 AM botp via ruby-talk > <ruby-talk@ml.ruby-lang.org> wrote:
>
> is it possible to use glimmer in rails views, like replacing or in
combination w erb/haml/slim/etc.
>
> sorry if this question sounds stupid.
>
> kind regards
> --botp
>
>
> On Fri, Dec 26, 2025 at 5:14 AM Andy Maleh via ruby-talk < > ruby-talk@ml.ruby-lang.org> wrote:
>>
>> Video of "Frontend Ruby with Glimmer DSL for Web" at Ruby on Rio
2025-06-06
>>
> ______________________________________________
> ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
> To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
> ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/
Yes. It is planned that Glimmer components would support Server Side
Rendering eventually, thus offering a replacement for ERB as pure Ruby
Views.
That would be in version 2 or 3 of the project in the future.
Andy Maleh
···
On Fri, Dec 26, 2025 at 11:45 PM botp <botpena@gmail.com> wrote:
awesome, thanks.
are there plans along the lines of "pure ruby"; that is, beyond or no more
templating (erb/etc), possibly pure glimmer. is that possible?
On Fri, Dec 26, 2025 at 6:09 PM Andy Maleh <andy.am@gmail.com> wrote:
In response to your question:
> is it possible to use glimmer in rails views, like replacing or in
combination w erb/haml/slim/etc.
Yes, of course. Glimmer DSL for Web is designed to be used in Rails
Views (ERB, HAML, or SLIM) via a Rails helper. You do so by utilizing
the glimmer_component Rails helper as documented here:
I do highly recommend that you go through all the samples of the
project to learn it well. It's the best way for learning the project
in addition to watching one or more of the project talk videos.
On Fri, Dec 26, 2025 at 4:24 AM botp via ruby-talk >> <ruby-talk@ml.ruby-lang.org> wrote:
>
> is it possible to use glimmer in rails views, like replacing or in
combination w erb/haml/slim/etc.
>
> sorry if this question sounds stupid.
>
> kind regards
> --botp
>
>
> On Fri, Dec 26, 2025 at 5:14 AM Andy Maleh via ruby-talk < >> ruby-talk@ml.ruby-lang.org> wrote:
>>
>> Video of "Frontend Ruby with Glimmer DSL for Web" at Ruby on Rio
2025-06-06
>>
> ______________________________________________
> ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
> To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
> ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/