Live data from Hacker News

Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

news.ycombinator.com

71–79 of 79 posts

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#71

I've been working on a framework for a while. It's a server side VDOM that streams updates to a small JS runtime. Components are written in Haml. https://github.com/mayu-live/framework

That's so cool! Makes me happy seeing HTTP/2 being suppport as well.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#72

Been a few years since I tried Rails (I don't do much web development), but seriously considering giving it another try. I do wonder if a "Lite" version of Rails could happen somehow - DHH was talking about JSON APIs in his latest blog post, and indeed they are more no-ops than an SQL database. I have tried Ruby CGI but very barebones - no MVC. I haven't tried Sinatra, but someone at a Ruby web development company to…

Have you seen Hanami 2?

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#74

I've been working on a framework for a while. It's a server side VDOM that streams updates to a small JS runtime. Components are written in Haml. https://github.com/mayu-live/framework

That's so cool! Makes me happy seeing HTTP/2 being suppport as well.

Thank you! HTTP/2 is great. It's really convenient to have one connection per client.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#75

Earlier quoted context omitted.

That's so cool! Makes me happy seeing HTTP/2 being suppport as well.

Thank you! HTTP/2 is great. It's really convenient to have one connection per client.

Any thoughts or plans about HTTP/3 in Ruby? I've been searching around and it's dead silent within the community, only seen a presentation about implementing QUIC in Ruby using Ractors but nothing more.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#76
I went the opposite direction and built a static site generator on top of Rails: https://sitepress.cc/

Turns out, Rails is a really good web framework! I tried building Sitepress on something “light weight”, Tilt and Rack, and it was a pain. I found myself constantly solving the same problems that were already solved in Rails. At some point it dawned on me that I could just build on top of a few parts of Rails, so I did. I wrote about it at https://fly.io/ruby-dispatch/single-file-rails-app/

I’m glad I did! Now I can plug all of the Rails template handlers, view components, and other Rails plugins into it and ride off that entire community’s docs.

If you find yourself thinking, “rails is too heavy”, consider shedding the parts of Rails that you don’t need. Then as your application grows in complexity and you find yourself needing more parts of Rails, bring it back in.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#77
I've been a Rubyist for over ten years. I've never built using Rails. I've been stuck with Ramaze because of decisions that were made long ago. Betting I'm the only person here using Ramaze...Plan to convert to something else, probably Sinatra but not Rails, if I'm ever given the bandwidth.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#78
I haven't touch Rails in production for more than 3 years now. My main stack is roda+sequel+rspec+aws and it's awesome. It gives me a ton of flexibility because I'm not limited with common approaches and I can add any tools I want and implement any solutions I feel might be better. My stack is only a part of global world of gems. Anytime we can make own tools with our vision and it's amazing.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#79

Earlier quoted context omitted.

Thank you! HTTP/2 is great. It's really convenient to have one connection per client.

Any thoughts or plans about HTTP/3 in Ruby? I've been searching around and it's dead silent within the community, only seen a presentation about implementing QUIC in Ruby using Ractors but nothing more.

Sorry, I just saw this now! I don't know anything about HTTP/3 in Ruby, or at all actually.

I'm using the async-http gem for the HTTP/2 server and it works great for my use case.

Post reply on HN