<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi John,<br>
the first question that came to my mind was: Why is it called At, both the module as well as the method attribute?<br>
<br>
The 'Naming your Arguments' section is confusing because it populates a variable named '$id' but uses '$_{id}' for the response.<br>
I understand that you want to show that the args get passed to the sub like in core Catalyst but I'd do that in a second example as the preferred way to do it with this module would be $_{id}.<br>
I'd prefer to use the (experimental) subrouting signature feature of Perl 5.20 than $_{id} which also doesn't have the same API as Perl 5.10 named regex capture patterns ($&#43;{id}).<br>
<br>
An example how to allow literal {&nbsp; and } in a URL should be added (and the feature if that doesn't exist).<br>
<br>
The example in 'Matching GET parameters' is incorrect, the full-uri should be'<a class="moz-txt-link-freetext" href="https://fqdn/example/query?name=john;age=47">https://fqdn/example/query?name=john;age=47</a>'.<br>
Would it also match any order of the parameters like '<a class="moz-txt-link-freetext" href="https://fqdn/example/query?age=47;name=john">https://fqdn/example/query?age=47;name=john</a>'? I didn't find this in the Catalyst::ActionRole::QueryParameter docs.<br>
<br>
That might be a stupid question because I don't know the internal workings but could it be called 'Chained' instead of 'Via' so if someone want's to convert the route matching to this module (s)he doesn't have to rewrite as much?<br>
<br>
I think I like the parameter type matching and extraction more than the different syntax but I'm no good measure because I've grown up with Chained ;)<br>
<br>
Cheers, Alex<br>
<br>
<div class="moz-cite-prefix">On 2016-01-08 00:41, John Napiorkowski wrote:<br>
</div>
<blockquote cite="mid:717369809.1868918.1452210075017.JavaMail.yahoo@mail.yahoo.com" type="cite">
<div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1452209726253_2562">Lots of people tell me the hardest thing about catalyst is the method attributes used to describe routes, particularly chaining. &nbsp;Here's a sketch for an alternative syntax that encompasses chaining along with more simple
 routes.</div>
<div id="yui_3_16_0_1_1452209726253_2566"><br>
</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr"><a moz-do-not-send="true" href="https://github.com/jjn1056/Catalyst-ControllerRole-At" id="yui_3_16_0_1_1452209726253_2574">jjn1056/Catalyst-ControllerRole-At</a><br>
</div>
<div style="width:450px; font-family: 'Georgia', 'Times', 'Times
          New Roman', 'serif';margin-top:5px; margin-bottom: 5px;
          background-color: #ffffff;" id="enhancrCard_0" class="link-enhancr-attachment link-enhancr-element
          richcompose-card" contenteditable="false">
<table class="link-enhancr-element" style="width:450px;
            height:170px; position: relative; display: block;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr class="link-enhancr-element">
<td class="link-enhancr-element" colspan="8" style="height: 1px; background-color: #e5e5e5;
                  font-size: 1px; border-collapse: collapse;">
<div class="link-enhancr-element" style="height: 1px;
                    background-color: #e5e5e5; font-size: 1px;
                    line-height:0px;">
&nbsp;</div>
</td>
</tr>
<tr class="link-enhancr-element">
<td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5;
                  font-size: 1pt; border-collapse: collapse;">
<div class="link-enhancr-element" style="width: 1px;
                    background-color: #e5e5e5; font-size: 1pt;">
&nbsp;</div>
</td>
<td class="link-enhancr-element link-enhancr-image-wrap
                  enhancr-image-crop" rowspan="5" style="vertical-align:
                  middle; width: 168px; height: 168px; background-color:
                  rgb(255, 255, 255); border-collapse: collapse;">
<div class="link-enhancr-element" style="width:
                    168px;" align="center">
<a moz-do-not-send="true" href="https://github.com/jjn1056/Catalyst-ControllerRole-At" class="link-enhancr-card-urlWrapper
                      link-enhancr-element" style="text-decoration: none
                      !important;text-decoration:none; color: #000000
                      !important;"><img moz-do-not-send="true" alt="image" src="imap://ahartmai@pop.t-systems.at:993/fetch%3EUID%3E/Entw%26APw-rfe%3E21332?v=3&amp;s=400.cf.jpg" class="link-enhancr-thumbnail-image
                        link-enhancr-element yahoo-ignore-inline-image" style="display: block; margin: auto;" data-id="980a4ac7-4486-f802-14f3-2d7ecba47431" height="168" width="168"></a></div>
</td>
<td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5;
                  font-size: 0pt; border-collapse: collapse;">
<div class="link-enhancr-element" style="width: 1px;
                    background-color: #e5e5e5; font-size: 1pt;">
&nbsp;</div>
</td>
<td rowspan="5" class="link-enhancr-element" style="width: 14px; background-color: #ffffff;
                  font-size: 0pt; border-collapse: collapse;">
<div class="link-enhancr-element" style="width: 14px;
                    background-color: #ffffff; font-size: 14pt;">
&nbsp;</div>
</td>
<td colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff;
                  font-size: 0pt; border-collapse: collapse;">
<div class="link-enhancr-element" style="height: 6px;
                    background-color: #ffffff; font-size: 6pt;">
&nbsp;</div>
</td>
<td rowspan="5" class="link-enhancr-element" style="width: 20px; background-color: #ffffff;
                  font-size: 0pt; border-collapse: collapse;">
<div class="link-enhancr-element" style="width: 20px;
                    background-color: #ffffff; font-size: 20pt;">
&nbsp;</div>
</td>
<td class="link-enhancr-element" rowspan="5" style="width: 1px; background-color: #e5e5e5;
                  font-size: 1pt; border-collapse: collapse;" width="1">
<div class="link-enhancr-element" style="width: 1px;
                    background-color: #e5e5e5; font-size: 1pt;">
&nbsp;</div>
</td>
</tr>
<tr>
<td class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle;
                  font-family: 'Georgia', 'Times', 'Times New Roman',
                  'serif';">
<div class="link-enhancr-text-part
                    link-enhancr-element" style="line-height:16.5px;
                    background-color: #ffffff; height: 135px; width:
                    245px;">
<div class="link-enhancr-element" style="word-wrap:
                      break-word; word-break: break-all;">
<span class="link-enhancr-element icon icon-shrink
                        link-enhancr-toggle"></span><span class="link-enhancr-element icon icon-close
                        link-enhancr-delete"></span><a moz-do-not-send="true" href="https://github.com/jjn1056/Catalyst-ControllerRole-At" class="link-enhancr-card-urlWrapper
                        link-enhancr-element" style="text-decoration:
                        none !important;text-decoration:none; color:
                        #000000 !important; line-height: 100%;
                        font-size: 18px; display: block;"><span class="link-enhancr-element
                          link-enhancr-card-title" style="margin: 0;
                          font-weight: normal;margin-bottom: 3px;
                          font-size: 18px; line-height: 21px;
                          max-height: 43px; color: #000000; overflow:
                          hidden !important; display: inline-block;">jjn1056/Catalyst-ControllerRole-At</span></a>
<div style="font-size: 13px; line-height: 20px;
                        color: #999999; max-height: 81px; font-family:
                        'Georgia', 'Times', 'Times New Roman',
                        'serif';overflow: hidden;" class="link-enhancr-card-description
                        link-enhancr-element">
Catalyst-ControllerRole-At - Alternative was to describe Catalyst URL matching paths.</div>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="link-enhancr-element" style="height: 4px; background-color: #ffffff;
                  font-size: 0pt; border-collapse: collapse;">
<br>
</td>
</tr>
<tr>
<td class="link-enhancr-element" style="vertical-align:
                  middle; font-family: 'Arial', 'Helvetica Neue',
                  'Helvetica', 'sans-serif';">
<div class="link-enhancr-element" style="font-size:
                    0pt;"><a moz-do-not-send="true" href="https://github.com/jjn1056/Catalyst-ControllerRole-At" class="link-enhancr-card-url link-enhancr-element" style="color: black; text-decoration: none
                      !important;text-decoration:none;cursor:pointer
                      !important;" target="_blank"><span class="link-enhancr-element
                        link-enhancr-view-on" style="display:
                        inline-block; line-height: 11px; max-width:
                        145px; min-width: 85px; overflow: hidden;
                        max-height: 13px; word-break: break-all;" id="yui_3_16_0_1_1452209726253_2591"><span class="link-enhancr-element
                          link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px;
                          line-height: 11px; color: #999999;
                          -moz-text-size-adjust: none;
                          -ms-text-size-adjust: none;
                          -webkit-text-size-adjust:none;
                          text-size-adjust:none;">View
 on <span style="font-weight: bold" class="link-enhancr-view-on-domain">github.com</span></span></span></a></div>
</td>
<td class="link-enhancr-element" style="vertical-align:
                  middle; width: 100px; font-family: 'Arial', 'Helvetica
                  Neue', 'Helvetica', 'sans-serif';">
<div class="link-enhancr-element
                    link-enhancr-preview-wrapper" style="max-width:
                    100px; min-width: 80px; overflow: hidden;
                    text-align: right; line-height: 11px; max-height:
                    13px; font-size: 0pt;">
<span class="link-enhancr-element
                      link-enhancr-preview-by
                      link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px;
                      line-height: 11px; color: #999999;
                      -moz-text-size-adjust: none; -ms-text-size-adjust:
                      none; -webkit-text-size-adjust:none;
                      text-size-adjust:none;">Preview
 by Yahoo</span></div>
</td>
</tr>
<tr>
<td colspan="2" class="link-enhancr-element" style="height: 9px; background-color: #ffffff;
                  font-size: 0pt; border-collapse: collapse;">
<br>
</td>
</tr>
<tr class="link-enhancr-element">
<td class="link-enhancr-element" colspan="8" style="height: 1px; background-color: #e5e5e5;
                  font-size: 1px; border-collapse: collapse;">
<div class="link-enhancr-element" style="height: 1px;
                    background-color: #e5e5e5; font-size: 1px;
                    line-height:0px">
&nbsp;</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr">the SYNOPSIS bit is still WIP so ignore it, but the rest of the docs are proposed final. &nbsp;There's no code for this yet, just docs, I'm looking for feedback on 'is this easier to understand'. &nbsp;</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr">Critique welcome, if constructive. &nbsp;I know lots of people don't like the method attribute stuff, but I'm not doing any work on that right now, so constructive critique means not saying you'd prefer something
 other than method attributes :) I already hear that, but this is something that can layer as sugar on top of the existing work, or even mixed into an existing project. &nbsp;I'm trying to split the difference between usefully different and alien brains difference.
 &nbsp;Thanks</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1452209726253_2572" dir="ltr">Jnap</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
List: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
Searchable archive: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- LG Alex </div>
<br>
<font face="Verdana" color="Purple" size="2"><br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien<br>
Handelsgericht Wien, FN 79340b<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
Notice: This e-mail contains information that is confidential and may be privileged.<br>
If you are not the intended recipient, please notify the sender and then<br>
delete this e-mail immediately.<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
</font>
</body>
</html>