[ruby-talk:444464] Modern and beautiful website with Ruby

Hello,Is it possible to design a modern and beautiful website with Ruby? Websites are usually designed with JavaScript.

Thank you.

The lingua franca of web documents is HTML, which these days is
essentially a serialisation of the standard Document Object Model.
JavaScript allows authors to write code to manipulate (including
generate) DOM nodes dynamically in the browser, so in a way it
enhances or replaces some of the HTML serialisation required. Ruby
quite famously has a pretty popular library suite called Rails (you
know, Ruby on Rails?) that, as far as I'm aware, is almost entirely
used to generate HTML documents server-side and deliver them to web
browsers on the web. So I'm not sure exactly what you're asking.

···

On Thu, 9 May 2024 at 20:15, Jason Long via ruby-talk <ruby-talk@ml.ruby-lang.org> wrote:

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 -- Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

--
  Matthew Kerwin [he/him]
  https://matthew.kerwin.net.au/
______________________________________________
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 -- Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

I suggest you check out https://hyperstack.org/, which is a toolkit for
building complete websites in Ruby. There are cross-compilers written to
translate Ruby to JavaScript, and other tools to allow Ruby descriptions of
web page content, with an automatic translation in a proper web app built
out of HTML, CSS, JavaScript, so it can be deployed on any web hosting
environment.

···

On Thu, 9 May 2024 at 14:52, Matthew Kerwin via ruby-talk < ruby-talk@ml.ruby-lang.org> wrote:

The lingua franca of web documents is HTML, which these days is
essentially a serialisation of the standard Document Object Model.
JavaScript allows authors to write code to manipulate (including
generate) DOM nodes dynamically in the browser, so in a way it
enhances or replaces some of the HTML serialisation required. Ruby
quite famously has a pretty popular library suite called Rails (you
know, Ruby on Rails?) that, as far as I'm aware, is almost entirely
used to generate HTML documents server-side and deliver them to web
browsers on the web. So I'm not sure exactly what you're asking.

On Thu, 9 May 2024 at 20:15, Jason Long via ruby-talk > <ruby-talk@ml.ruby-lang.org> wrote:
>
> 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 --
Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

--
  Matthew Kerwin [he/him]
  https://matthew.kerwin.net.au/
______________________________________________
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 --
Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

--
Regards,

Ken

Seek wisdom through skeptical inquiry

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:

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.

https://ismailarilik.com

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 >> <matiasmasca@gmail.com> wrote:
Hi,
besides the design and layout of a website, which in my opinion give it
its beauty, you could use static site generators like Bridgetown
<https://www.bridgetownrb.com/&gt;, middleman <https://middlemanapp.com/&gt;
or Jekyllrb <https://jekyllrb.com/showcase/&gt; as part of a Jamstack-style.

But if you need generate more complex and dynamic website probably you
could use Ruby on Rails <https://rubyonrails.org/&gt; or Hanami
<https://hanamirb.org/&gt;

I'm using Bridgetown for my personal website.

Regards
*Matías Mascazzini*
keep in touch /about me <https://matiasmasca.gitlab.io/aboutme/en/&gt;

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 --
Info | ruby-talk@ml.ruby-lang.org - 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 --
Info | ruby-talk@ml.ruby-lang.org - 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 -- Info | ruby-talk@ml.ruby-lang.org - 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 --
Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

--
Andy Maleh

LinkedIn: Andy Maleh - Lexop | LinkedIn
<https://www.linkedin.com/in/andymaleh&gt;
Blog: http://andymaleh.blogspot.com
GitHub: AndyObtiva (Andy Maleh) · GitHub
Twitter: @AndyObtiva <https://twitter.com/AndyObtiva&gt;