Fork me on GitHub

CGI-Application-Plugin-REST by jaldhar

Helps implement RESTful architecture in Perl CGI applications

If you use the CGI::Application framework, this plugin will help you create a RESTful (that's the common term for "using REST") architecture by abstracting out a lot of the busy work needed to make it happen.

Dependencies

This module is pure perl and should work with any version of perl, 5.008 or greater.

At build time you will need the above modules plus the following if you want to run the tests:

The signature can be tested by installing the following module:

and setting the environment variable TEST_SIGNATURE to 1.

Further tests are contained in the xt subdirectory of the distribution. Only the author really needs to run them but if you want to do so as well, you will need to install the following modules:

Install

If you have the Module::Signature module installed, you can verify the integrity of this distribution by typing:


    cpansign -v

Module::Signature requires GnuPG which you can get from: http://www.gnupg.org/download/ A binary version for Windows is available from that page.

Then to install this module, run the following commands:


    perl Build.pl
    ./Build
    ./Build test
    ./Build install

On Windows you don't need to type the preliminary ./

Alternatively, you can do:


    perl Makefile.PL
    make
    make test
    make install

If you are using ActiveState perl on Windows and you don't have a make utility, you can download nmake from:
http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe

(Replace make with nmake in the instructions above if you are using it.)

If you are using Strawberry perl on Windows, it comes with a make utility called dmake. (Replace make with dmake in the instructions above if you are using it.)

License

Copyright (C) 2010, Consolidated Braincells Inc. All rights reserved.

This distribution is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Artistic License version 2.0.

The full text of the license can be found in the LICENSE file included with this distribution.

Authors

Jaldhar H. Vyas (jaldhar@braincells.com)

Contact

Jaldhar H. Vyas (jaldhar@braincells.com)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/jaldhar/CGI-Application-Plugin-REST