[Opensim-dev] ConsoleClient -pass option
Dr Scofield
DrScofield at xyzzyxyzzy.net
Wed Sep 9 07:48:53 UTC 2009
Dickson, Mike (ISS Software) wrote:
> Ok, after a tour through the REST console code as best as I can tell it
> *looks* like all your REST console does is wrap cli commands in XML and ship
> messages back and forth. I guess that sort of band-aids the need for a
> console remotely but there are whole sets of things that don't work. For
> instance if I want to do a "load oar" command how does the oar file get to
> the server and where does it need to live to get found? If I need to do some
> sort of out of band mechanism to achieve that how does that translate to a
> fully functional console?
>
> In a case like this where I *personally* want a truly remote management
> interface for a server I'd strongly prefer a set of well documented remotely
> callable functions. They should fully capture the semantics for the
> operations involved (i.e. the load oar "function" specifies how the oar file
> is transported over the wire) so the interface is truly remotable. If you
> had that you could still implement a text based local console over the
> implementation interface but at least what remotely managing the server means
> is well defined. And programming against it means using a straightforward
> RPC call vs. XML mangling.
i've to agree on that. i'd started something like that, but haven't really made
any headway due to lack of time. being a pythonista i tend to look at things
through python glasses: invoking an XmlRpc method is easy, doing the same thing
with REST is a pain.
cheers,
DrS/dirk
--
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- drscofield at xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/
RL: hud at zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/
More information about the Opensim-dev
mailing list