Re: [PEPr] XML::XML_Feed_Writer deleted

From: Date: Wed, 08 Feb 2006 13:56:10 +0000
Subject: Re: [PEPr] XML::XML_Feed_Writer deleted
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41234@lists.php.net to get a copy of this message
Dan Rossi wrote:
I think this package would be extremely useful. It should however maybe use the pear xml packages somewhere to handle stuff. It should maybe have factory methods for different feed types like RSS, Atom, XSPF for instance (sorry havent looked completely). It is in PHP5 though so it makes me wonder should there be different channels created for a php4 port and php5 port ?
I will not be coding any php4 port that will be handling XML, if someone feels like doing XML_Feed_Writer_P4 or something that's their choice, but with the XML processing ability of php4, I refuse to do so because first of all, I want to port most packages to php5 only as php4 is in my opinion deprecated by it's lack of OO, lack of security, lack of complex XML structures handling (libxml2), lack of Exceptions, SPLs, xslt, thus I believe that all the future packages, if want to please the market and at the same time be reliable, should be php5. Hrmm what else ? I have static:: binding patch installed and namespaces running on my dev version of php5 and I have to admit that it works pretty well.
IE is there going to be a complete PHP5 pear repository port and an equivalent where possible PHP4 port ? I think its silly to write PHP5 pear classes extending or composing PHP4 classes dont you think ? I would just keep them PHP4 for now until there is possible channels available.
And again, I have to disagree, there is php5 packages already, and the php5 port, php4 port will probably take a little while to develop or get in production, so no, I will not do any xml documents handling with php4 unless someone has an idea, or the idea of using xmlwriter efficiently, but again, I would need some benchmark on both sides and the exact same abilities that the script has right now. Because the package does work pretty well, just the architecture is bad, very bad. Although I am very opened to any design if anyone has anything to propose. The main problem right now are the files, atom0.3.php, atom1.0.php, rss2.0.php,etc. They work, but how do you people want them to work ? I started redisigning it about 2 months ago, but it's at home, I'll check tonight and let you guys know of how I started the rewrite(because I can't remember at all), just let me know if you have an idea in the meantime. --David

« previous php.pear.dev (#41234) next »