# Does it do clientside?

**URL:** <https://rubytalk.org/t/does-it-do-clientside/27683>\
**Category:** ruby-talk\
**Created:** [24 May 2006 08:15 UTC](https://rubytalk.org/t/does-it-do-clientside/27683 "2006-05-24T08:15:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReggW](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@ReggW](https://rubytalk.org/u/ReggW)\
**Post date:** [24 May 2006 08:15 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/1 "2006-05-24T08:15:42Z")

</div>

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

If clientside, how would you get that to work?

Thanks

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Joey](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Joey](https://rubytalk.org/u/Joey)\
**Post date:** [24 May 2006 08:24 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/2 "2006-05-24T08:24:49Z")

</div>

Ruby is server side.

> **···**
>
> On 5/24/06, ReggW \<me@yourhome.com\> wrote:
> 
> > When it comes to the Web, is Ruby a Serverside or Clientside language?
> > 
> > If clientside, how would you get that to work?
> > 
> > Thanks
> > 
> > --  
> > Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Tim\_Becker](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@Tim\_Becker](https://rubytalk.org/u/Tim_Becker)\
**Post date:** [24 May 2006 09:18 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/3 "2006-05-24T09:18:24Z")

</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?

&nbsp;&nbsp;&nbsp;-tim

---

<div class="post-metadata">

**Author:** ![kate\_rhodes](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@kate\_rhodes](https://rubytalk.org/u/kate_rhodes)\
**Post date:** [24 May 2006 12:56 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/4 "2006-05-24T12:56:56Z")

</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:** ![Aur\_Saraf](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Aur\_Saraf](https://rubytalk.org/u/Aur_Saraf)\
**Post date:** [24 May 2006 11:41 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/5 "2006-05-24T11:41:48Z")

</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.

> **···**
>
> On 5/24/06, Tim Becker \<a2800276@gmail.com\> wrote:
> 
> > 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?
> > 
> > &nbsp;&nbsp;-tim

---

<div class="post-metadata">

**Author:** ![ReggW](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@ReggW](https://rubytalk.org/u/ReggW)\
**Post date:** [24 May 2006 17:21 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/6 "2006-05-24T17:21:20Z")

</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?

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![kate\_rhodes](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@kate\_rhodes](https://rubytalk.org/u/kate_rhodes)\
**Post date:** [24 May 2006 20:15 UTC](https://rubytalk.org/t/does-it-do-clientside/27683/7 "2006-05-24T20:15:30Z")

</div>

RJS is part of rails. It's reliable, but, the conversion from ruby to js  
happens on the serverside.  
- kate = masukomi
