[PEPr] Proposal for File System::S3

View: New views
8 Messages — Rating Filter:   Alert me  

[PEPr] Proposal for File System::S3

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Till Klampaeckel (http://pear.php.net/user/till) proposes File System::S3.

You can find more detailed information here:
 http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PEPr] Comment on File System::S3

by Chuck Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chuck Burgess (http://pear.php.net/user/ashnazg) has commented on the proposal for File System::S3.

Comment:

Looks cool...



I cringed when I saw getMimeType() though... is the Mime_Type package an
option instead?

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PEPr] Comment on File System::S3

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Till Klampaeckel (http://pear.php.net/user/till) has commented on the proposal for File System::S3.

Comment:

> I cringed when I saw getMimeType() though...

> is the Mime_Type package an option instead?



You may uncringe. I wasn't really aware of that package, I'll have a look
and put it in with the next version - shortly. :)

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PEPr] Comment on File System::S3

by Philippe Jausions-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Philippe Jausions (http://pear.php.net/user/jausions) has commented on the proposal for File System::S3.

Comment:

This is an excellent idea!



However I see the following problem:

 - Global var usage for error reporting,

 - Inconsistency in class constant names "READ_PRIV" vs. "PUB_WRITE", why
not "PUBLIC_WRITE" and "PRIVATE_READ" instead? (Note that PRIV could be
interpreted as either Privilege and Private leading to possible confusion
in documenting, support of the package and so on...)

 - As noted by Chuck getMimeType() is redundant with other packages,

 - "or die()" at the end of the file, I'd go with letting the user
register the stream through a static method of the class
File_S3::register($private, $key)

 - Inconsistent naming of private properties "$buffer" vs. "$bufSize", go
with "$bufferSize" instead

 - init() calling the __construct() and the $this->isConstructed
checking,

 - __construst() doesn't actually return anything (phpDoc @return mixed)

 - Use of constants S3_PRIVATE and S3_KEY: 1. impossible to change the key
in the same script, 2. wrong names should at least be FILE_S3_PRIVATE,
FILE_S3_KEY. Use class static properties instead.

 - How do you pass proxy and other settings to HTTP_Request ?

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PEPr] Comment on File System::S3

by Helgi Þormar Þorbjörnsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Helgi Þormar Þorbjörnsson (http://pear.php.net/user/dufuz) has commented on the proposal for File System::S3.

Comment:

Also take a look at fileinfo, quite good for mimes and such.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PEPr] Comment on File System::S3

by Chuck Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chuck Burgess (http://pear.php.net/user/ashnazg) has commented on the proposal for File System::S3.

Comment:

This code seems to have too much external baggage.



Till, can we drop the current code from this proposal and start fresh?
I'll help... I'd like to find the published API from Amazon and start
building new code to interface with that API.  We can get your work needs
handled with new, unencumbered code, and grow the package from there.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=519

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PEPr] Comment on File System::S3

by Chuck Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 6 Dec 2007 21:54:10 -0000, Chuck Burgess <demon.gene@...> wrote:

>
> Chuck Burgess (http://pear.php.net/user/ashnazg) has commented on the
> proposal for File System::S3.
>
> Comment:
>
> This code seems to have too much external baggage.
>

It further seems that the hex2b64() method shows a 2006 copyright by Amazon
Digital Services (http://aws.krugle.com/kse/projects/WNIxk3c#5).
--
CRB

Let me introduce you to my very own DMCA-protected encryption key:
BC 1B 64 4A 8D DE 49 E8 C3 7D CC EE 1A AD EE F5
(compliments of Freedom-to-Tinker http://www.freedom-to-tinker.com/?p=1155)

[PEPr] File System::S3 deleted

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Till Klampaeckel (http://pear.php.net/user/till) has deleted the proposal for File System::S3.

The reason for that is:

Copyright/authorship issues.

--
Sent by PEPr, the automatic proposal system at http://pear.php.net

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

LightInTheBox - Buy quality products at wholesale price