You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Nelson, Robert D." <RD...@Mail.Donaldson.com> on 2002/08/26 23:37:41 UTC
[users@httpd] RE: PHP vs XML
Jim:
This is a little bit like comparing apples to oranges. PHP is an executable
language. XML is a markup language that stores data in a somewhat
structured way. In theory, and I've never really seen this done, you could
use PHP to access data stored in XML.
PHP is generally used to access data from a database. Its ability to do
this is very slick. Overall there isn't a whole lot you can't do with it.
Some (like myself) prefer to use a more robust language like Perl (via CGI)
or Java for complicated applications.
XML is a really cool way to store data because it is very portable between
applications. There is also the ability to render the raw data using
applied styles (XSL).
~ Robert
> -----Original Message-----
> From: Jim Hale [mailto:jim-ml@halemail.dyndns.org]
> Sent: Monday, August 26, 2002 7:18 AM
> To: Mailing List - Apache
> Subject: OT: PHP vs XML
>
>
> What is everyone's opinion towards php over XML as a Server Side
> application language? I'm learning php but wondering how it
> rates 'over'
> XML. Is there a web site that explains the differences between the 2?
>
> Thanks!
>
> Jim Hale
> ---
> 'The OS Tells The PC What To Do With Itself" - Me, 1990
> ---
> Visit Our MIDI & Digital Audio Website at
> http://hale.dyndns.org or Our
> Forums At http://haleforum.dyndns.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org