OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Programming XML with PHP

[ Lists Home | Date Index | Thread Index ]

On Thu, 2003-07-24 at 14:22, matthiasjost@gmx.ch wrote:
> Hi XML-dev folks
> 
> I started to learning php some months ago. I red many articles about XML and
> im very interested
> in the technology. Many Parsers and Transformers are realised in Java.
> Is PHP not suitable to write XML-Processors?
> Or why are most of the XML-Processors programmed in Java?
> Just because php is a scripting language?

Yes, probably. 

That's not specific to PHP and Perl, Python or Ruby are pretty much in
the same kind of situation: you can use all these languages to write a
XML parser or a XSLT processor but the execution is much faster if you
use one which is written in C (or C++) and "binded" to your scripting
language.

This would be true for Java too but the difference in speed is smaller
and in the Java universe, people are more attached a form of portability
achieved by "100% pure java" applications than in other the universe of
scripting languages.

As an application developer this shouldn't make that much difference to
you. These C binding are available on almost any platform. What's
important is that you have the XML functions you need (which should be
the case for PHP), how they are implemented is secondary IMO.

Eric
-- 
Tired to type XML tags?
                                                       http://wikiml.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS