Hi I'm looking for a Perl RESTful framework that have to :
Am I just dreaming or can I avoid the 'Roll our own' approach?
What framework would you recommend?
Dropwizard framework is suitable for creating Java Microservices and for the rapid development of RESTful Web services. It provides access to several Java libraries to provide developers with a fast and distraction-free development platform.
A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for representational state transfer and was created by computer scientist Roy Fielding.
I've used Dancer (github) for some smaller projects of mine. It's very elegant and very easy to get things done quickly with. It was inspired by the Ruby framework Sinatra.
It's as easy as:
#!/usr/bin/env perl
use Dancer;
get '/' => sub {
'Hello world!'
};
dance;
Dancer is pretty well documented and trustable if you look at the test suite: ~500 tests that cover more than 80% of the source tree.
It's PSGI/Plack compliant and has few dependencies. The version 1.0 should be released very soon (maybe this weekend).
See the dancer website to stay tuned.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With