Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: JSON WebService Description with PERl

by Anonymous Monk
on May 08, 2012 at 13:30 UTC ( #969459=note: print w/replies, xml ) Need Help??

in reply to Re^2: JSON WebService Description with PERl
in thread JSON WebService Description with PERl

Here is an idea, if you've got a model, you can write a generator, see UML to Perl

Say you created models using Moose (or one of the alternatives) and they use MooseX::Params::Validate ... and now you're providing a RESTful interface to these classes.

Well, grab UML::Class::Simple and generate some uml, then you feed said uml through ummf to generate whatever you're after, a Joose based validator and jQuery interface to your RESTful api, a perl interface to your RESTful api ...

But IMHO, JSON really doesn't need a web service description language other than english

It turns out JSON-RPC-1.1 is contemptible :)

  • Comment on Re^3: JSON WebService Description with PERl

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-10-26 09:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (338 votes). Check out past polls.