# Hi, Ruby Programmers, Is this possible

**URL:** <https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813>\
**Category:** Ruby\
**Created:** [February 3, 2010, 7:12am UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813 "2010-02-03T07:12:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 7:12am UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/1 "2010-02-03T07:12:59Z")

</div>

Hello, everyone. Today I picked up Ubuntu User magazine, and I happened  
upon an article on Ruby, which brought me here.

I am looking for a detailed answer about what can be done with Ruby.  
First, if someone has the time, could you please look at this.

[http://code.google.com/p/parchment/](http://code.google.com/p/parchment/)

Is it possible to do this with Ruby. I understand the language itself is  
very capable, but I am looking for a detailed yes or no answer. The idea  
is to have an entire webpage with an interactive interface. The example  
above uses a combination of programming technologies to provide this.  
Does Ruby have the capability to create controls or web components that  
are pretty much a cli (command line interface) which can be exposed to a  
browser. I am not too knowledgeable about scripting languages and CGI. I  
know a server side language like PHP can NOT do this. How about  
Ruby/CGI, etc. Does anyone have an example of something similar. BTW, I  
do mean completely in Ruby, nothing external, except html/xhtml for  
defining pages. A good explanation here might push me toward picking up  
Ruby. I would be willing to learn the language for just such a project.  
Also the above link is based on the Inform interpreter at [inform7.com](http://inform7.com).  
Are, there any interactive fiction systems written in ruby? Lots of  
questions.

As one last attempt to make sure I am clear about what I am asking, can  
Ruby be used to write an interactive fiction interpreter such as glulxe  
(with graphics) or zoom and can this interpreter be exposed to a  
browser. loading images and etc.

---

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 7:27am UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/2 "2010-02-03T07:27:39Z")

</div>

Dot Smidt wrote:

> Hello, everyone. Today I picked up Ubuntu User magazine, and I happened  
> upon an article on Ruby, which brought me here.
> 
> I am looking for a detailed answer about what can be done with Ruby.  
> First, if someone has the time, could you please look at this.
> 
> [Google Code Archive - Long-term storage for Google Code Project Hosting.](http://code.google.com/p/parchment/)
> 
> Is it possible to do this with Ruby. I understand the language itself is  
> very capable, but I am looking for a detailed yes or no answer. The idea  
> is to have an entire webpage with an interactive interface. The example  
> above uses a combination of programming technologies to provide this.  
> Does Ruby have the capability to create controls or web components that  
> are pretty much a cli (command line interface) which can be exposed to a  
> browser. I am not too knowledgeable about scripting languages and CGI. I  
> know a server side language like PHP can NOT do this. How about  
> Ruby/CGI, etc.

Ruby is a server-side language just as PHP is. The only client-side  
language you can rely on is JavaScript.

Best,  
–Â  
Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/3 "2010-02-03T14:50:08Z")

</div>

Dot Smidt wrote:

> Hello, everyone. Today I picked up Ubuntu User magazine, and I happened  
> upon an article on Ruby, which brought me here.
> 
> I am looking for a detailed answer about what can be done with Ruby.  
> First, if someone has the time, could you please look at this.
> 
> [Google Code Archive - Long-term storage for Google Code Project Hosting.](http://code.google.com/p/parchment/)
> 
> Is it possible to do this with Ruby.

Hey… Wanna try Ruby in your browser? [http://tryruby.org/](http://tryruby.org/)  
It’s a text interface!

Alright – alright – it’s not just Ruby. It’s also got Javascript.  
Still, it’s close to what you’re asking about, isn’t it?

---

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/4 "2010-02-03T15:00:35Z")

</div>

On Feb 3, 7:27 am, Marnen Laibow-Koser [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > know a server side language like PHP can NOT do this. How about  
> > Ruby/CGI, etc.
> 
> Ruby is a server-side language just as PHP is. The only client-side  
> language you can rely on is JavaScript.

Or JRuby because it is written 100% in Java?  
– Maurice

---

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 3:27pm UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/5 "2010-02-03T15:27:27Z")

</div>

mdiam wrote:

> On Feb 3, 7:27ï¿½am, Marnen Laibow-Koser [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > > know a server side language like PHP can NOT do this. How about  
> > > Ruby/CGI, etc.
> > 
> > Ruby is a server-side language just as PHP is. ï¿½The only client-side  
> > language you can rely on is JavaScript.
> 
> Or JRuby because it is written 100% in Java?

Yes, if you like applets.

Or Hotruby because it’s 100% JavaScript, but that’s not a complete  
implementation yet.

To the OP: this issue has nothing to do with the limitations of Ruby or  
PHP, but is simply a function of how Web applications work. That’s why  
substituting languages won’t change anything.

> – Maurice

Best,  
–Â  
Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![marindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@marindo](https://www.ruby-forum.com/u/marindo)\
**Post date:** [February 3, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/hi-ruby-programmers-is-this-possible/182813/6 "2010-02-03T15:33:22Z")

</div>

java != javascript

oh god…
