Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ron Savage (5224)

Ron Savage
  (email not shown publicly)

Journal of Ron Savage (5224)

Thursday October 08, 2009
11:43 PM

Perl@Work#1 - RESTful URLs, the path info, and code paths

[ #39732 ]

Hi Folks

Well, no word from Perlsphere, so here's the first in the series:


I've written 420 lines (incl blanks) on the second article, but there's a way to go yet...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Samples:

    • /person/add

      Use class CGI::Office::Contacts::Controller::Person, and call method add.

    • /organization_notes/delete/99

      Use class CGI::Office::Contacts::Controller::Organization::Notes, and call method delete, with an object id of 99.

    This is service trampled REST, very much still in the vein of old web services.

    Also, you haven't written about HTTP methods at all, which are the central piece. URLs denote things, therefore are just nouns, and the resources themselves are well-defined well-adopte