Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: JSON WebService Description with PERl

by sundialsvc4 (Abbot)
on May 09, 2012 at 02:25 UTC ( [id://969553]=note: print w/replies, xml ) Need Help??


in reply to JSON WebService Description with PERl

On a complete aside ... I have been very pleased with RPC::Any as a basic framework for a recent project.   (It is not an exact fit to this requirement, but a very fine framework for RPC.   Just sayin’ FYI.)

Edit:   I have also learned to add the following features, as part of the descriptive information that goes back and forth (if it’s not already provided by the protocol):

  1. A version-number.   If the format changes, change the number.   You never know when an old version of something is still out there wanting to talk to you.
  2. A randomly generated string, produced by the client, which the host must return verbatim.   Excellent for matching up requests with responses.   (But don’t be tempted to use it as a reliable-identifier on the host-side.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://969553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found