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:
https://github.com/AndyObtiva/glimmer-dsl-web?tab=readme-ov-file#hello-glimm...
That lets you embed any Glimmer Frontend component inside a Rails View.
Here is an example of using it in a Rails sample app:
https://github.com/AndyObtiva/sample-glimmer-dsl-web-rails7-app/blob/master/...
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.
If you have any other questions, feel free to ask here or at the Glimmer Gitter chat (there are no stupid questions by the way): https://app.gitter.im/#/room/#AndyObtiva_glimmer:gitter.im
Best regards,
Andy Maleh
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...