dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]A plan for DotGNU: Rudolf


From: Peter Minten
Subject: Re: [DotGNU]A plan for DotGNU: Rudolf
Date: Wed, 01 Jan 2003 15:36:29 +0100

Peter Minten wrote:

> Inside the application frontend process the DotGNU Translator component 
> watches
> the pipe to the Butler. When a FOX message in XML comes in it parses it and
> sends it on to the receiver.

I created an example of the Client Translator (attached), it works with XML-RPC
instead of XML, but it works for basically every Fox object. To use it you will
need Fox, FXRuby, xmlrpc4r and the dependencies of those things. Fox and FXRuby
are linked to on the Fox homepage (www.fox-toolkit.org) for the rest you should
search the Ruby Application Archive (www.ruby-lang.org/raa).

Note that the example has one security bug, it uses eval and thus executes Ruby
code. I set the $SAFE level at 2 so that files can't be modified, but it's still
possible to do some tricks.

Greetings,

Peter

Attachment: dg_server.rb
Description: application/unknown-content-type-rb_auto_file

Attachment: dg_client.rb
Description: application/unknown-content-type-rb_auto_file


reply via email to

[Prev in Thread] Current Thread [Next in Thread]