# Does it do clientside?

**URL:** <https://www.ruby-forum.com/t/does-it-do-clientside/61474>\
**Category:** Ruby\
**Created:** [May 24, 2006, 10:15am UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474 "2006-05-24T10:15:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 10:15am UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/1 "2006-05-24T10:15:32Z")

</div>

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

If clientside, how would you get that to work?

Thanks

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 10:25am UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/2 "2006-05-24T10:25:29Z")

</div>

Ruby is server side.

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/3 "2006-05-24T13:43:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 11:20am UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/4 "2006-05-24T11:20:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/5 "2006-05-24T19:21:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/6 "2006-05-24T14:59:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ReggW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Post date:** [May 24, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474/7 "2006-05-24T22:17:53Z")

</div>

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

- kate = masukomi
