Does it do clientside?

When it comes to the Web, is Ruby a Serverside or Clientside language?

If clientside, how would you get that to work?

Thanks

Ruby is server side.

Ruby isn’t a web client side scripting language pre-se.
Java, Javascript and Actionscript would be the only standard web
client-side
scripting languages (vbscript is also implemented in IE which has a VERY
large market share, so you might add it to the list).

But some very wise people from the Rails developement group have created
RJS, a templating language that enables translation of Ruby code to JS
code

  • so one might in a way use Ruby as a client-side scripting language for
    the
    web.

It doesn’t matter, Ruby is a general purpose language. You can
implement both client- and server functionality, though I’m not sure
if that distinction makes sense.

If you mean Rails, that’s a Ruby framework that is used to implement
dynamic websites (roughly speaking), so more on the server side.

If clientside, how would you get that to work?

Not sure what you mean? Are you asking for examples of what type of
client software that can be programmed in Ruby?

-tim

Son SonOfLilit wrote:

Ruby isn’t a web client side scripting language pre-se.
Java, Javascript and Actionscript would be the only standard web
client-side
scripting languages (vbscript is also implemented in IE which has a VERY
large market share, so you might add it to the list).

But some very wise people from the Rails developement group have created
RJS, a templating language that enables translation of Ruby code to JS
code

  • so one might in a way use Ruby as a client-side scripting language for
    the
    web.

Thank you, do you know how reliable RJS is and do you have a link to it?

As someone elses post hinted, your question is too ambiguous.
Do you mean it in the context of web pages? By “client side” do you mean
runs in the browser? If so then no, it’s not client side. But, if by
“client
side” you mean can you write desktop apps that have GUIs with it then
yes,
you can.

-Kate == masukomi

RJS is part of rails. It’s reliable, but, the conversion from ruby to js
happens on the serverside.

  • kate = masukomi