Re: domxml in PHP5
| From: | (Marcus Börger) | Date: | Thu, 10 Apr 2003 16:58:03 +0000 |
| Subject: | Re: domxml in PHP5 | ||
| References: | 1 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-62@lists.php.net to get a copy of this message | ||
At 10:37 10.04.2003, Christian Stocker wrote:
Hi It was very quiet on this list in recent weeks. [...] - use namespaces. Got already a patch from Tal for that.If you need any help ask me :-)
- use setters/getters. $domtext->data = "hello" should be possible with PHP5 (the properties in domxml at the moment are a joke and shouldn't be used..), this will allow much more dom-complianceMaybe we could have an own dowmxml object type with special handlers.
- Implement first most of the dom-standard. Then we add some of the convenience methods libxml2 has (get_content() et al. They are not in the dom-standard, but make the life for domxml-programmers a lot easier and they are also much faster than using the "traditional" dom methods) - Lastly, if there's time, add as much BC as possible. Or we just provide a PEAR-wrapper, which makes transition from domxml/PHP4.3 to domxml/PHP5 easier.I disagree, domxml is experimental, so do not make the mistake to have an incompatible version shipped with php5. Why must php always be different? marcus