Re: URI stuff

[email protected] (Stephen Adkins)
Newsgroups perl.p5ee
Message-ID <[email protected]>
Hi,

I presume you are moving forward with this.
I have made my suggestions on the API.
I would suggest that you name it something like

   URI::Resource

because it represents (in my understanding of it) something
more than just a stream by which you can retrieve data
(i.e. the "Resource" that the URI identifies).

There also is the issue of whether to make it a minimalist
implementation or a feature-rich implementation.

I am interested in such a thing for the purposes of site
link checking/spidering, so I would be interested in it having
built-in (pluggable?) caching.

However, go ahead and develop it however it makes sense to you.
If and when it becomes relevant for P5EE, I will bring up
the subject again.

Stephen

At 02:57 AM 3/1/2002 +0900, Tatsuhiko Miyagawa wrote:
>At Thu, 28 Feb 2002 10:31:05 -0500,
>Stephen Adkins wrote:
>> 
>> Are you going to work on this?
>> Or are you just wishing that someone would?
>> 
>> If you are going to work on this, I have some additional
>> requirements to propose.  I think the first thing is to
>> research the existing namespaces and propose a package name.
>
>I've just beginned to implement this as URI::Stream.  To keep it
>simple, currently it supports IO::Handle's reading methods, on
>http/file/ftp.
>
>But I think we should first get an agreement on its API first.
>
>-- 
>Tatsuhiko Miyagawa <[email protected]>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.