[MOBY-l] Re: [MOBY] Progress on services and object question

Mark Wilkinson markw at illuminae.com
Tue Feb 4 17:34:28 UTC 2003


Hi Simon, 

let's flip this conversation over to the general discussion list, as it
is of general interest rather than a pointed announcement to core
developers.

On Mon, 2003-02-03 at 23:47, Simon Twigger wrote:

> Thinking out loud - can I pass in a complex object as opposed to a string
> from a particular namespace (the assumption being that the string is a
> single thing -accession, keyword, go ID, etc)? Presumably I could define a
> literature search object with an xsd, etc. and use that  as the input
> object containing elements for keywords, dates, etc.? This would probably
> be a cleaner solution and would save other people worrying about arcane
> entrez query creation. Is this the correct way to be thinking about this?

Absolutely!  The simple demo client CGI program only asks for a
namespace/id in order to "prime" the system; since MOBY is largely
object driven , you have to have an object in your hand before it will
do anything for you.  The simplest object to construct is the base
Triple, so that is what the CGI asks you for.  In fact, the input to a
service can be an arbitrarily complex object(s).

M


-- 
=======================================================================
                                    |--==\
Mark Wilkinson                       \==-|       
Bioinformatics Consultant             \=/        0010010010100101110010
Illuminae Media                       /-\        
727 6th Ave. N.                      /-==|       0010100100111101010010
Saskatoon, SK, Canada               |==-/        
S7K 2S8                              \=/         0100100100010010010101
+1 (306) 373 3841                     /\         
markw at illuminae.com                  /=-\        1101001010100101010101
                                    |--==\
=======================================================================



More information about the moby-l mailing list