Hacker News new | ask | show | jobs
by adamthegoalie 4465 days ago
How is this "Ruby in Your Browser", per se? You're just saying that you've used Ruby to build a web page now in the browser, correct?

I ask because I'm seeking something more like a Ruby on Rails Implementation waiting for you in your browser, in effect, when you arrive at the service's website, which you can then take with you if you'd like, as a VM, in any number of ways.

1 comments

Well, funny enough you can do rails with opal (they implemented Active Support (https://github.com/opal/opal-activesupport), which was kind of an answer to DHH and another before him thinking it couldn't be done, BUT... the real power comes from using it with something like rails. For example, we use it with rails 4.1rc2 at present to have ruby everywhere. So instead of just .js files or coffeescript, we have .js.rb files that pass through opal. Amazing readability improvements and a great feelings just going straight ruby across the board. There are some really slick little frameworks like `lissio` and `vienna` as well that offer `sinatra` like solutions right on opal.

The maker of `lissio` also started hacking on a little project that is not complete, but gives an idea of a WIP lissio project here: https://github.com/meh/gwentoo

Just kinda nice to see how it goes together and how very flexible it is.