Re: [RFC] Starting 5.3
| From: | Marcus Boerger | Date: | Fri, 04 May 2007 20:16:09 +0000 |
| Subject: | Re: [RFC] Starting 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29201@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Friday, May 4, 2007, 10:07:13 PM, you wrote:
>> - you don't need a tool - well php - but hey you probbaly have that tool
> Yes, but they can't open it by any other standard system tool. I.e. you
> always need PHP - and of specific version -
nope, there ispear/phar - perfectly compatible and runs on any version
> to work with this file. And
> I don't know how you expect all kinds of proven and widely used tools
> like mod_rewrite, .htaccess, etc. to work with phar-ed application.
they most likely don't, it is designed for deployment and for running
includes directly.
>> - you can run phar archives out of the box - untouched
> You can't however see files there, edit files, copy files, etc. by any
> of the thousands of tools made by people to work with files.
If need be, i'll write a windows-commander plugin :-)
>> - you can extract phar archives and run them - still untouched
> To extract them, you again can use one and only one tool, which might
> not be available on the system you want to open the archive on. That's
> all consequences of inventing yet another separate packaging format on
> top of dozens already in existence. Java at least used existing format...
pear install phar - or - pecl install phar - done
oh wait the point is that pecl install doesn't work or is in 99% no option
>> - you can provide phar archives that do not require a phar extension
> What do you mean, how? And if you can - why don't you always do so? Why
> do you need phar extension at all?
slow? bigger? overhead?
>> To your question "is phar so important that everybody needs it in the
>> main source." I think the above means it should.
> Sorry, not clear to me how exactly it means so. There are a lot of
> extensions that live in PECL and do all kinds of interesting things -
> why phar is so special?
Interesting and not maintained for the most. Sometimes working on one or
the other very specific php version only. And often even without
documentation.
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com http://www.zend.com/
Best regards,
Marcus