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 <[email protected]>
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
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/