REST::Application

Description

REST::Application is a framework for building RESTful web-applications. SYNOPSIS # MyRESTApp L instance / mod_perl handler package MyRESTApp; use Apache; use Apache::Constants qw(:common); sub handler { __PACKAGE__->new(request => $r)->run(); return OK; } sub getMatchText { return Apache->uri } sub setup { my $self = shift; $self->resourceHooks( qr{/rest/parts/(d+)} => get_part, # ... other handlers here ... ); } sub get_part { my ($self, $part_num) = @_; # Business logic to retrieve part num } # Apache conf < Location /rest > perl-script .cgi PerlHandler MyRESTApp < /Location > This module acts as a base class for applications which implement a RESTful interface. When an HTTP request is received some dispatching logic in REST::Application is invoked, calling different handlers based on what the kind of HTTP request it was (i.e. GET, PUT, etc) and what resource it was trying to access. This module wont ensure that your API is RESTful but hopefully it will aid in developing a REST API..

Rest - Restful - Myrestapp - Restapplication - Sub - Framework - Building - Libraries - Programming

Published By:Matthew OConnor

License Type:Freeware

Date Added:25 October, 2010

Version:0.96

Price:Free

Downloads:81

Size:15.4 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

S3OSCache project is an OSCache store implementation that uses Amazons Web Service S3 service to store the cached data.

DateNov 2, 2010

AuthorSerge Knystautas

Size245.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Konstrukt is a REST-ful framework of controllers for PHP5.

DateAug 21, 2010

AuthorTroels Knak-Nielsen

Size399.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

PDF Automation Server can automate the receiving, processing and routing of documents. Use PAS as an essential tool to streamline your document workflows and circulation in your organization.

DateMay 16, 2016

AuthorQoppa Software, LLC

Size116.0 MB

LicenseShareware

Price$4,800.00

PlatformLinux, Linux Console, Linux GPL, Linux Gnome

CategoryLinux Business

PDF Automation Server for Linux

Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.

DateAug 26, 2010

AuthorAbhijit Mahabal

Size4.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

ReleaseAction - call actions upon release.

DateAug 25, 2010

AuthorBen Tilly

Size4.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming