The prototype.js functionality seems awesome,  but since it is a new
tool for me, I need a bit more information.

I have a web text application, written in Ruby, that runs at a Linux
command prompt. I am in the process of porting it to a web 2.0
application, and I am looking for some advice as to some of the tools
that might be right for the job.

I have 2 primary objects within the Ruby code that I will need to be
able to communicate with via the web interface. One is a client
object, that stores per client information and the other is a "global"
Queue object that all clients currently share. These are TCP clients
and the Queue stores messages containing a TCP socket and a short text
message (each message intended for one client).

I'm looking for find the best way (currently using Javascript) to
update information in the client objects as well as store messages in
the global Queue object.  I'm trying to have this be as AJAXian as
possible. Should I be sticking with pure Ruby or is something like
"prototype.js" the way to go? If prototype.js supports this, what is
the methodology or the functions that I would need to employ to send
messages to Ruby objects? Based upon the state of the Ruby objects, I
would need to update the portion of the display showing each object's
current state.

Any suggestions or pointers are sincerely appreciated.

Regards,

--
Steve Downie
_____________________________________________
Media Solutions from
G U L F    C O A S T    D I G I T A L    S Y S T E M S
Voice: (408) 777-0300 Fax: (408) 777-0301
Web: http://www.GCDSystems.com
Email: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to