[Bioperl-l] 'standard' URL/HTTP handling

Ewan Birney birney@ebi.ac.uk
Sun, 24 Sep 2000 16:27:23 +0100 (GMT)


On Sun, 24 Sep 2000, chris dagdigian wrote:

> 
> 
> The code that Aaron put inside modules like GenBank.pm came directly from
> one of the LWP modules. Also - Steve Chervit's has his BLAST submission
> code *already* dependent on LWP modules including HTTP::Request::Common
> and LWP::UserAgent. 
> 
> The LWP modules (libwww-perl on CPAN) are very well done and handle all
> sorts of things like firewalls and proxy issues that we do not want to be
> dealing with ourselves. 
> 
> To me it is a no-brainer that bioperl should use the external LWP code to
> do any sort of web or HTTP protocol talking. Because of the BLAST code
> this set of modules is already on our list of external optional
> dependencies so standardizing on LWP will not even add another module to
> our dependency list.

This is absolutely correct. Let's do this on the main trunk.

Hilmar's suggestion still stands. For IO orientated modules, there are a
number of IO things each module does, like setting filenames, closing
streams etc.

I am not sure how IOManager is set out, but I would like to see in this
case a true base class (? perhaps IOManager) which IO orientated modules
in bioperl would inheriet from. This would

	(a) save people from having to type get/sets for fh/filename all
the time and

	(b) make bioperl more consistent.


For Network orientated modules, something similar might occur or the IO
system might be good enough. 


Does this sound sane Hilmar? Would you like to propose the system we
should try to stick to?



 > 
> -Chris
> 
> --
> Chris Dagdigian         (Home:Work) Blackstone Technology Group
> dag@sonsorol.org             :      dagdigian@ComputeFarm.com
> http://www.sonsorol.org      :      http://www.computefarm.com
> http://open-bio.org          :      Mobile (617) 877-5498
> --
> Schedule & full contact info http://www.sonsorol.org/dag/contact.html
> --
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
> 

-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------