RE: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List
| From: | Andi Gutmans | Date: | Tue, 11 Sep 2007 04:31:09 +0000 |
| Subject: | RE: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32228@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: david.coallier@gmail.com [mailto:david.coallier@gmail.com] On
> Behalf Of David Coallier
> Sent: Monday, September 10, 2007 4:05 PM
> To: Andi Gutmans
> Cc: Gregory Beaver; PHP Developers Mailing List
> Subject: Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List
>
> Andi, if there was to be a cross platform tool to view, extract, add,
> etc with phar archives, would that influence your choice ?
Well the point is that if you're using tar, zip (jar) or some other standard file format you
have thousands of tools that you can use.
The format is really mainly an implementation detail (maybe with some minor semantics) so I think
it's better for PHP to embrace an existing one than coming up with its own. This is also why
Java took this approach.
I realize there is some history to this implementation but I think tweaking the file format part of
the implementation isn't a large amount of work and worthwhile in the long run esp. as phar
hasn't been widely adopted at this point (and probably won't be for Web apps but rather
installations and administration solutions).
Andi