Re: [PEAR-DEV] Reworking XML_SVG to use DOM
[email protected] (Vasil Rangelov) Fri, 9 May 2014 20:26:10 +0300
| Newsgroups | php.pear.dev |
|---|---|
| Message-ID | <CAKfX0nWKHfquG+adMP7_PqWiOjk5c4qYaqcQ83NE_nUN_+BhRQ@mail.gmail.com> |
Normally, the answer to such questions is "ask the maintainer", but since this package is unmaintained, I say that if you take it over, it should be your call. Personally, I approve of such a rewrite. But then again, it's clear that this lack of use of DOM was done for a reason - PHP 4 support. It would probably be best to make a new package, and link to it from XML_SVG as the new recommended way. I like the name "XML_SVG_DOM". BTW, if you're willing to break off from PHP 5.2, and into PHP 5.3+, you could also use namespaces and make a new package in PEAR2. Regards, Vasil Rangelov 2014-05-09 19:35 GMT+03:00 David Leaman <[email protected]>: > Hi, > > I've been working on designing a body of code to easily generate and > manipulate SVG content. I'm playing with XML_SVG at the moment, trying to > figure out whether it'll suit my needs, and it seems to reinvent a lot of > wheels. > > Would it be a good idea to rework XML_SVG to extend the corresponding DOM > objects and to use DomImplementation? Or would it be better to start a new > package, something like XMLDOM_SVG or XML_SVG_DOM or some variant of that? > > Cheers, > -David Leaman > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >