REST::Application 0.96
Sponsored Links
REST::Application 0.96 Ranking & Summary
File size:
0.015 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1098
Date added:
2006-10-24
Publisher:
Matthew OConnor
REST::Application 0.96 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.
SYNOPSIS
# MyRESTApp L
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::Application 0.96 Screenshot
REST::Application 0.96 Keywords
RESTful
Application 0.96
MyRESTApp
for building
sub
part
framework
building
0.96
REST::Application
RESTApplication
REST::Application 0.96
Libraries
Programming
Bookmark REST::Application 0.96
REST::Application 0.96 Copyright
WareSeeker periodically updates pricing and software information of REST::Application 0.96 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of REST::Application 0.96 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
restful nights
restful web services
restful night essentials
hyland restful legs
restful music
restful authentication
restful haven
restful aromatherapy
restful vacations
restful api
spell for restful sleep
restful wind
restful waters
restful authentication tutorial
restful colors
restful rain
restful moments
restful paws
Related Software
CGI::Application is a framework for building reusable web-applications. Free Download
Phrealon Linux is a bootable Linux CD for imaging workstations. Free Download
CGI::Application::Magic is a template based framework for CGI applications. Free Download
Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. Free Download
App::quickstart is App::Context Developers Quick-Start Guide. Free Download
Exponent is a web application that allows site owners to easily create and manage dynamic websites. Free Download
PLaTos is a framework for easy and comfortable building of various LaTeX documents. Free Download
LinCAN is a Linux kernel module that implements a CAN driver. Free Download
Latest Software
Popular Software
Favourite Software