in reply to Re: Mapping URLs to code - in search of perlish dispatch schemes
in thread Mapping URLs to code - in search of perlish dispatch schemes

Hmmm - I'm not sure I understand what Catalyst::Plugin::AutoSession does - it seems to be geared at extracting exactly one parameter out of the URL. I'm looking more in the direction of a mini language that I can use to dispatch any URL to the most-fitting code. I'm not looking for a framework-specific solution because I haven't found a framework that I like.

Of course, any URL-specification must be translated into something that the backend framework can understand, but firstly, I'm looking at what possibilities the frameworks offer to declare my wishes.

  • Comment on Re^2: Mapping URLs to code - in search of perlish dispatch schemes

Replies are listed 'Best First'.
Re^3: Mapping URLs to code - in search of perlish dispatch schemes
by CountZero (Bishop) on Jul 20, 2006 at 21:33 UTC
    The module gets all parameter values, whether they are in the URL ("GET") or through forms ("POST") and automatically put them in the session (whatever the backend-storage for the session is).

    Of course you would just "catch" the parameters and check them against your requirements in the declarative language.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law