Yes, Glimmer DSL for Web lets you write HTML, JS and CSS in Ruby instead, so with it, you can technically design a modern and beautiful website with Ruby:

https://github.com/AndyObtiva/glimmer-dsl-web

It is a Frontend library that can be used with a Rails backend. It is meant to be a 100% full replacement for common JS libraries and frameworks like React, Angular, Vue, Svelte, etc..., but allowing you to write all code in Ruby, thus doubling productivity at least and halving code, time to delivery, and development cost.

On Sat, May 11, 2024 at 3:20 PM Don Wilde via ruby-talk <ruby-talk@ml.ruby-lang.org> wrote:

On 5/10/24 23:35, İsmail Arılık via ruby-talk wrote:

You can do anything you do in Node.js, using Ruby. But Node.js' non-blocking IO is not exist in standard Ruby as I know; there should be some libraries or app servers (such as Puma) for this.

Yes. Node.js has power and it's popular, but it's nowhere near as elegant and maintainable as Ruby and Rails and its ecosystem.


On Fri, May 10, 2024, 23:22 Jason Long via ruby-talk <ruby-talk@ml.ruby-lang.org> wrote:
Hi,
Thank you so much for your reply.
Can Ruby provide all the features of Node.js?


On Fri, May 10, 2024 at 4:00 PM, Matias Mascazzini
Hi,
besides the design and layout of a website, which in my opinion give it its beauty, you could use static site generators like Bridgetownmiddleman or Jekyllrb as part of a Jamstack-style.

But if you need generate more complex and dynamic website probably you could use Ruby on Rails or Hanami

I'm using Bridgetown for my personal website.

Regards
Matías Mascazzini
keep in touch /about me


El jue, 9 may 2024 a la(s) 7:13 a.m., Jason Long via ruby-talk (ruby-talk@ml.ruby-lang.org) escribió:
Hello,
Is it possible to design a modern and beautiful website with Ruby? Websites are usually designed with JavaScript.

Thank you.
 ______________________________________________
 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/
 ______________________________________________
 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/

 ______________________________________________
 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/
 ______________________________________________
 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/


--