Re: file streams & metadata
| From: | Ferenc Kovacs | Date: | Tue, 08 Mar 2011 16:32:19 +0000 |
| Subject: | Re: file streams & metadata | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51624@lists.php.net to get a copy of this message | ||
On Tue, Mar 8, 2011 at 5:15 PM, Pierre Joye <pierre.php@gmail.com> wrote:
> On Tue, Mar 8, 2011 at 5:08 PM, Ferenc Kovacs <info@tyrael.hu> wrote:
>
> > if you have a better alternative which is viable, then I would support
> that.
> > otherwise I wouldn't support the all-or-nothing approach.
> > thats like if we couldn't add pecl/phpize until it works on every
> supported
> > platform/filesystem combination. (cheers for the upcoming 5.3.6 release)
> > and there is a ton of stuff which some point in time (or still ) didn't
> work
> > on all platform.
>
> No, that's a totally different problem. phpize has no impact on the
> internal APIs and how things work in the engine or stream.
>
> Making bad things stream (and god knows how many of these things we
> already have) has a direct impact on every platform we support. Here
> it will be even worst as it will be on every platform+FS combination.
>
> It is pretty much the same as doing drivers specific things as the PDO
> level and make them look like being generic. Very very bad idea,
> obviously.
>
>
while I agree that we shouldn't carelessly add something that will be a PITA
to support later, but I think that we should watch out for the
over-engineering/Nirvana fallacy also.
this is why I said that it would be a good idea to write things down, and
get more brains and yes on the problem and the suggested solutions.
and I think that with the last emails, we've started to get constructive
about the matter.
Tyrael