Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby plugin for web browser?

Am I correct that if someone wrote a Ruby plugin for a web browser and a user installed that plugin then it would be possible to replace javascript with ruby on the frontend?

Aren't there any plugins for this? Or even for using other languages than javascript on the browser side?

like image 450
never_had_a_name Avatar asked Sep 03 '10 12:09

never_had_a_name


1 Answers

You could use http://ironruby.net/ in a Silverlight Plugin, but I have not a clue about how easy DOM interaction is this way.

But I BEG YOU don't do it! Please, use the Open Web Stack to solve your problems.
If you don't leave your Ruby world of comfort, you will not only hurt your users experience "WTF? Why do I need Silverlight for this page?" but you will also get stuck in your small little Ruby world without learning anything new and exciting.

It would be better for both of you, if you'd just go ahead and learn JavaScript.

Because remember: "Learning is a good thing!"

like image 89
Ivo Wetzel Avatar answered Oct 06 '22 00:10

Ivo Wetzel