Web examples


#1

i’m thinking about getting into Ruby. I want to build web browser based
applications. Is Ruby any good for this kind of thing? If so are there
any good links out there that demonstate this?


#2

Hi Faruq,

You seem to be one of the rare people who heard about Ruby before
Rails, instead of the other way around. But “Ruby on Rails”
(http://www.rubyonrails.org/) has become a rather popular web
application development framework that is causing quite a stir in the
web development world. Ruby also has Nitro (http://nitrohq.com/),
which is another great “all-in-one” web development framework.

So to answer your question, yes Ruby is quite good for this kind of
thing! :slight_smile:

Welcome aboard,
Ryan


#3

faruq fayaz napisaÅ?(a):

i’m thinking about getting into Ruby. I want to build web browser based
applications. Is Ruby any good for this kind of thing? If so are there
any good links out there that demonstate this?

What do you mean by web browser based applications?

If you mean server side application read this
http://www.rubycentral.com/book/web.html
You can also use one of popular engines like :

If you mean client side application there are some possibilities too.
I’am not an expert in these area so anyone please help.

Cheers, Jacek


#4

Hi Ryan,

Thanks. Ruby sounds good.

Incidently, Is there a way of posting anonymously. I like asking stupid
questions :slight_smile:


#5

Hi Jacek,

I’m from a Flash actionscript background so used to building rich media
client side applications. However I’m willing to compromise some of the
flashy eye candy to build more useful stuff - I guess clientside hooking
up to a database on a server once in a while.


#6

con spirisi wrote:

Hi Jacek et al,

Can Ruby produce something like space invaders delivered through a
browser? That sort of application demonstrates all that I’d ask for.


#7

On Wed, 04 Jan 2006 22:40:25 -0000, con spirisi removed_email_address@domain.invalid
wrote:

con spirisi wrote:

Hi Jacek et al,

Can Ruby produce something like space invaders delivered through a
browser? That sort of application demonstrates all that I’d ask for.

Probably. But whether anyone could actually use it is a different
question. I think that most (all?) of the really cool Ruby webapps that
do
client side stuff use Javascript to do it.

I recall seeing something about a plug-in or similar to support Ruby
script in certain browsers, but I’d guess it’s by no means widely
installed (I certainly don’t have it).

From what I’ve seen on the web Flash seems better suited for that kind
of
thing. Javascript has demonstrated a remarkable thirst for CPU on my
machine so I for one am against this kind of intensive use of it. Then
have Ruby doing all the trick server-side stuff like multiplayer,
leagues,
or whatever else you think you’d like to do.

Or whatever.


#8

con spirisi wrote:

Hi Ryan,

Thanks. Ruby sounds good.

Incidently, Is there a way of posting anonymously. I like asking stupid
questions :slight_smile:

Me too. Better to look stupid than stay stupid.

But if you want to be unknown get a Google or Yahoo or whatever E-mail
account and invent a persona. Make up a crafty name, like “Who’s Sorry
Now” or something.

Then we’ll have fodder for for stuff like,

ba: Who’s asking that question?
lc: That’s right
ba: What’s right?
lc: Who’s asking that question.
bc: That’s what I’m asking
lc: Who’s.
ba: Grr. Why can’t you tell me!
lc: Why posted too?

You get the idea.

James

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools


#9

On Thu, Jan 05, 2006 at 07:00:29AM +0900, Ryan L. wrote:

Hi Faruq,

You seem to be one of the rare people who heard about Ruby before
Rails, instead of the other way around. But “Ruby on Rails”

I’m not so sure it’s all that rare . . . it probably just isn’t very
obvious when someone hears of Ruby first because it doesn’t trigger your
“Oh, another person who heard about Rails!” reflex. As such, those of
us who heard of Ruby before Rails are probably not as noticeable,
generally.

Then, of course, there’s the simple fact that many who have heard of
Ruby first might not have thought anything of it until they also heard
of Rails, and got hooked that way. This may make them look like they’d
heard of Rails first, even if they didn’t.

I’m not sure why I’m commenting on this, really, except that I do tend
to wonder about the statistic incidence of this sort of thing sometimes.
I tend to find such social phenomena fascinating sometimes.


Chad P. [ CCD CopyWrite | http://ccd.apotheon.org ]

“Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts.” - Paul Graham


#10

On Thu, Jan 05, 2006 at 07:40:25AM +0900, con spirisi wrote:

con spirisi wrote:

Hi Jacek et al,

Can Ruby produce something like space invaders delivered through a
browser? That sort of application demonstrates all that I’d ask for.

Technically . . . yes. Realistically . . . not so much, at this time,
unless you’re willing to use Ruby as a back end on some kind of applet
(such as with Flash). Even in that case, it might be easier to just
create a Flash game and leave Ruby out of it, unless you’re looking to
make a distributed multiplayer Space Invaders game, in which case you’d
probably need something like Ruby on the server.


Chad P. [ CCD CopyWrite | http://ccd.apotheon.org ]

“Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts.” - Paul Graham


#11

thanks guys,

it seems you have a good community here. But I think I’ll hang five. I
want something that is closer to Flash I guess. Unfortunately I’ll have
to stick with Flash Actionscript and see what Microsoft Sparkle has to
offer, which is annoying particularly as it isn’t free.

anyway many thanks


#12

On Thu, Jan 05, 2006 at 07:03:34AM +0900, Jacek Balcerski wrote:

faruq fayaz napisaÅ?(a):

i’m thinking about getting into Ruby. I want to build web browser based
applications. Is Ruby any good for this kind of thing? If so are there
any good links out there that demonstate this?

What do you mean by web browser based applications?

I get the distinct impression that what’s meant here is “a web
application for which the browser is your client, and for which the
back-end programming is done in Ruby”. Someone correct me if I’m wrong.


Chad P. [ CCD CopyWrite | http://ccd.apotheon.org ]

unix virus: If you’re using a unixlike OS, please forward
this to 20 others and erase your system partition.


#13

On Wednesday 04 January 2006 09:37 pm, Chad P. wrote:

generally.

Then, of course, there’s the simple fact that many who have heard of
Ruby first might not have thought anything of it until they also heard
of Rails, and got hooked that way. This may make them look like they’d
heard of Rails first, even if they didn’t.

I’m not sure why I’m commenting on this, really, except that I do tend
to wonder about the statistic incidence of this sort of thing sometimes.
I tend to find such social phenomena fascinating sometimes.

I heard about Ruby years ago, but “so many languages, so little time”,
so I
did nothing about it. Then Chad P. told me about Rails, and Ruby
moved
forward on my radar. Then David Billsbrough gave an outstanding Ruby
demonstration, and I was hooked.

I think most Linux type people have heard about Ruby enough to know:

  1. It’s a computer language
  2. It’s “fully OOP”, whatever that means

SteveT

Steve L.
http://www.troubleshooters.com
removed_email_address@domain.invalid