Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Dancer::Plugin::SporeDefinitionControl 0.10

    Download button

    No screenshots available
    Downloads: 125  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nicolas Oudard | More programs
    Perl Artistic License / FREE
    May 24th, 2012, 12:44 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Dancer::Plugin::SporeDefinitionControl description

    Dancer Plugin to control validity of route from a Spore configuration file

    Dancer::Plugin::SporeDefinitionControl is a Dancer plugin to control validity of route from a Spore configuration file.

    SYNOPSIS

    in your Dancer project, use this plugin and register:

     package MyDancer::Server;

     use Dancer::Plugin::SporeDefinitionControl;

     check_spore_definition();

    In your config file:

     plugins:
     SporeDefinitionControl:
     spore_spec_path: path/to/route_config.yaml

    The yaml path file can be relative (root project base) or absolute.

    in your file path/to/route_config.yaml, put your SPORE config:

     base_url: http://localhost:4500
     version: 0.2
     format:
     - json
     - xml
     - yml
     methods:
     get_object:
     required_params:
     - id
     - name_object
     optional_params:
     - created_at
     path: /object/:id
     method: GET
     create_object:
     required_params:
     - name_object
     optional_params:
     - created_at
     path: /object/create
     method: POST
     update_object:
     required_params:
     - id
     - name_object
     optional_params:
     - created_at
     path: /object/:id
     method: PUT
     delete_object:
     required_params:
     - id
     - name_object
     optional_params:
     - created_at
     path: /object/:id
     method: DELETE



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Spore configuration | route validator | Perl module | Spore | configuration | route



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM