LANGREITER.COM plain, simple | |||
START INDEX | |||
C-RPC was born from an idea to reduce the amount of ASCII chars needed to encode simple values in XML-RPC. XML-RPC: in it's current form is not really well suited to transfer simple values: <?xml version="1.0"?> <methodCall> <methodName>doubleMe</methodName> <params> <param> <value><i4>16</i4></value> </param> <param> <array> <data> <value><i4>788 </i4></value> <value><i4>87827</i4></value> </data> </array> </param> </params> </methodCall> XML-RPC (streamlined): is a proposal to reduce the amount of chars by shortening the tagnames and simplyfing the structure <?xml version="1.0"?> <call> <name>doubleMe</name> <p><i>16</i> <array> <i>788</i> <i>87827</i> </array> </p> </call> and now consider this: the same values as they could be encoded in, say, REBOL... (a format that should be reasonably easy to parse with other languages like Perl or Python) C-RPC: [call "doubleMe" [16 [array [788 87827]]]] [ideas by chl and traumwind] |