[pm-h] JSON web services server side starting hints

Mark Allen mrallen1 at yahoo.com
Fri Oct 25 21:13:39 PDT 2013


I have a couple of suggestions for you.

First, you will likely want to investigate this advent calendar posting from a couple years ago:

http://advent.perldancer.org/2010/8 - Writing REST web services with Dancer

If you need something more "industrial" then you will probably want to look at something like OData.org - there's no Perl server implementation, but there is support for PHP, node and .NET.  It's a pretty comprehensive specification for presenting a database through a web interface.

I actually started working on a Perl implementation of a client, but gave up because priorities at work changed.



On Friday, October 25, 2013 11:38 AM, Michael R. Davis <mrdvt92 at yahoo.com> wrote:
 
Perl Folks,
I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.  Can anyone recommend any building blocks, standards, etc.?
 
I'm going to write it in Perl and need to get it going in a few days.  If I don't get it up and running we are most likely going to implement it as .Net services
 
Goals
  - Must have authentication
    - I like Apache basic authentication but I see Google is doing signature-based.
  -  Must have both Read and Write services
     - I've never use Write JSON services. I think it's just a PUT with STDIN JSON data package
     - I guess reads are just GET URLs with a restful structure?  Any hints on how to organize them (fine grained vs. course grained)
 
How do you document for clients?  Is there a WSDL equivalent for JSON?
 
Any pointers would be helpful.
Thanks,
Mike
_______________________________________________
Houston mailing list
Houston at pm.org
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/mailman/private/houston/attachments/20131025/5fa3e293/attachment-0003.html>


More information about the Houston mailing list