The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Anyone know anything about XML and by SkyHi2004-12-14 10:51:54
  XML is like... peanut butter... by placidpsychosis 2004-12-14 12:14:22
between two pieces of bread... Not overly fancy, but makes a good sammich.

But really, XML simply sets a standard for data transport. Using proper XML (and there ARE different formats!), Application A can talk to Application B, which in turn can talk to Database C on the other side of the world. Yea! For example... imagine a program that echos back whatever you give it. It takes XML as input and returns XML output. sending a package like...

<hello>
<Input>Hello World!</Input>
</hello>

might bring back...

<hello>
<helloResult>Hello World!</helloResult>
</hello>

Then you parse out the XML and check $request['Input'] == $reply['helloRequest'] (if, say, using NuSOAP and PHP :-)

Of course, the reply MAY contain other fields, like error structures and whatnot you can check for.

But, all in all, XML is peanut butter, holding two pieces of bread together and making them nummy.

BTW, if anyone recognizes the queries I presented... well, you've read too many API docs...
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)