Home > Archive > PHP Programming > October 2004 > Re: how to pass an xml string as a get parameter
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: how to pass an xml string as a get parameter
|
|
| castnblast 2004-10-29, 3:56 am |
|
Chung Leong wrote:
> Passing page content on the URL is always wrong, because you're
letting the
> world+dog modify your site.
Fine, but I'm not passing page content...only a few parameters,
collected however I want, and then passed around in xml format--it's a
convenient way to pass small but variable length lists of layout
parameters, server-side handles to images, text files etc. I can
specify
what eventually becomes a hundred lines of html in a dozen lines of xml
(I'm not talking about xslt)...I have my own ways of doing that.
The inherently predictable nature of XML makes it possible to
dynamically generate automatically operational data entry and data
query
GUI screens. That's the real reason to use XML as a parameter transport
mechanism. GUI screens that operate over relational data inevitably
require
manual, hand coded programming time. XML data can be manipulated by
entirely machine generated interfaces.
Take a look at http://neurosys.cns.montana.edu....to see a more
elaborate argument for using xml as a data transport mechanism.
| |
| Phil Palmieri 2004-10-29, 8:55 am |
| I think what you want to do is use cURL - this enables you to pass
get and post statements via Curl, then you can parse the resonse from
the xml server, and use the variables in an object.
Phil
"castnblast" <devnull@montana-riverboats.com> wrote in message news:<1099014741.481055.11650@c13g2000cwb.googlegroups.com>...
> Chung Leong wrote:
>
> letting the
>
> Fine, but I'm not passing page content...only a few parameters,
> collected however I want, and then passed around in xml format--it's a
> convenient way to pass small but variable length lists of layout
> parameters, server-side handles to images, text files etc. I can
> specify
> what eventually becomes a hundred lines of html in a dozen lines of xml
> (I'm not talking about xslt)...I have my own ways of doing that.
>
> The inherently predictable nature of XML makes it possible to
> dynamically generate automatically operational data entry and data
> query
> GUI screens. That's the real reason to use XML as a parameter transport
>
> mechanism. GUI screens that operate over relational data inevitably
> require
> manual, hand coded programming time. XML data can be manipulated by
> entirely machine generated interfaces.
>
> Take a look at http://neurosys.cns.montana.edu....to see a more
> elaborate argument for using xml as a data transport mechanism.
|
|
|
|
|