Re: [PEPr] +1 for File Formats::File_XSPF
| From: | Hannes Magnusson | Date: | Thu, 08 Dec 2005 14:00:50 +0000 |
| Subject: | Re: [PEPr] +1 for File Formats::File_XSPF | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40646@lists.php.net to get a copy of this message | ||
On 12/8/05, bertrand Gugger <bertrand@toggg.com> wrote:
> Bonjour,
> David Grant wrote:
>
> >Hi Hannes,
> >
> >I wrote the package in PHP4 because that is what I still write the
> >majority of my code in, and is currently still more in use than PHP5.
> >That said, I think writing a version of the package in strict PHP5 would
> >bring the benefits you describe, and if there was the facility to have
> >the PHP5 code co-exist, I would release one.
> >
> >
> We try to convince Hannes of this fact:
> that we cannot be absolutely modern,
> that lot of productions still cannot use an only PHP5 code.
> So , I feel, writing it the most compatible possible is a first goal.
> In order to convert it with a minimum of hassle.
Which is why it wasnt my condition, just a my opinion.
>
> Forget this absolutism, Hannes.
>
> I see no point to restrict pear to php5 (which one :) ) *now*
> Especially if the package is innovative in its content.
I've never said I wanted to restrict PEAR to PHP5 - just that we
should be looking forward and help out those who want to live in the
now. We shouldnt punish those who do run PHP5.
>
> That said, sure some only php4 constructs are to be avoided
> (not that I saw some in this proposal ... I did not check it :) )
Wasnt realy my point. Its just so complicated to parse/write this in
PHP4 - piece of cake in PHP5 (which is why this package was created,
helping out those misfortunate PHP4 users? ;).
XML in PHP4 is an disaster, not question about it.
>
> >As for the concatenation, I can pass off the XML generation to something
> >like XML_FastCreate. Would that satisfy your conditions?
> >
> >Cheers,
> >
> >David
> >
> >Hannes Magnusson wrote:
> >
> >
> >>Hannes Magnusson (http://pear.php.net/user/bjori) has voted +1 on the proposal for File
> >>Formats::File_XSPF.
> >>
> >>Proposal information:
> >>http://pear.php.net/pepr/pepr-proposal-show.php?id=328
> >>Vote information:
>
> >>>>http://pear.php.net/pepr/pepr-vote-show.php?id=328&handle=bjori
> >>
> >>This vote is conditional. The condition is:
> >>
> >>First off; I can't help wonder if PHP4 based package for this is the way to go.
> >>Seems aaaaalot simpler, and more efficient, implimenting this in PHP5.
> >>
> >>My condition is: For an XML package you use awul lot of string concatenating. Need to
> >>solve that - and those CS issues
> >>
> >>
> >>
> >
> >
> >
> >
> a+
> --
> toggg
>