[MOBY-l] [moby] Re: Can s/o correct the Perl examples online

Mark Wilkinson markw at illuminae.com
Tue May 30 19:03:51 UTC 2006


On Tue, 2006-05-30 at 17:13 +0200, Dirk Haase wrote:

> > can someone please correct the Document:
> > http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Docs/MOBY-S_API/Perl/Cons
> >tructingYourService.html

Done.


> In addition to the errors reported by Bjoern (see his posting), I noticed two 
> further bugs in the echo service:
> 1. One of the closing curly braces before the return statement is wrong

fixed


> 2. That code would return totally illegal response because it puts the
>   complete <simple> block from the request into the output (not only the
>   object). That is, the response has nested simple tags.

fixed.  

also added a new method "->content" to the MOBY::Client::SimpleArticle
object to make this easier to do.



> As far as I can see, there is no easy way to get the XML content of what is 
> inside the simpleArticle (like the old 'extractRawContent' method), right?

There is now :-)  (->content)


> Another problem with the new 'server side paradigm' is that gbrowse_moby can 
> currently not handle these services because it does not set 
> inputArticleNames. So I wonder if it is really appropriate to declare the old 
> parser methods 'deprecated'?

Good point... I need to fix gbrowse_moby to be API-compliant!

The old methods are deprecated in that they would only need to be used
on non-API-compliant messages, but as you know they have not been
removed from the codebase.  My feeling is that actively supporting non-
compliant messages is a bad thing to do, so it's probably not a good
idea to advertise the fact that the code to do so still exists...

M




> Regards,
> dirk
> _______________________________________________
> moby-l mailing list
> moby-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-l
-- 

--
Mark Wilkinson
Asst. Professor, Dept. of Medical Genetics
University of British Columbia
PI in Bioinformatics, iCAPTURE Centre
St. Paul's Hospital, Rm. 166, 1081 Burrard St.
Vancouver, BC, V6Z 1Y6
tel: 604 682 2344 x62129
fax: 604 806 9274

"For most of this century we have viewed communications as a conduit, 
       a pipe between physical locations on the planet. 
What's happened now is that the conduit has become so big and interesting 
      that communication has become more than a conduit, 
       it has become a destination in its own right..."

                Paul Saffo - Director, Institute for the Future




More information about the moby-l mailing list