RE: [PHP] Re: PHP & XML
| From: | Joshua Alexander | Date: | Fri, 18 Oct 2002 20:55:24 +0000 |
| Subject: | RE: [PHP] Re: PHP & XML | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120564@lists.php.net to get a copy of this message | ||
Hi everyone,
XML is not the only solution to this problem.And if you have the same application logic for both formats, and you discover a bug in it (or decide to change the order of the records) , what would you do? mirror the same implementation in n places.
I don't consider myself anti-xml... I see some very good uses for it. Some of the folks here have added to that list of uses (finally!) However, I don't know that it's a compelling solution for the problem you mention above. Yeah, if you already have a compelling reason to use XML, fine, but if separation of application logic and display is the ONLY reason, I'd say you don't have much of a reason at all.I was also a big anti XML fan
I have on doubt that THAT point is debatable, although I am not equipped to debate it. I'm willing to try Krysalis or something else sometime... maybe I'll be pleasantly surprised. -JoshSo, whether if you need only one output format, you might consider the XML/XSL approach interesting, as it's much more maintanable and e asy to understand.