[Catalyst] [OT] ASP.NET MVC

Kieren Diment diment at gmail.com
Thu Dec 13 06:15:14 GMT 2007


On 13 Dec 2007, at 17:07, Charlie Garrison wrote:

> Good afternoon,
>
> On 12/12/07 at 2:42 AM -0600, Jonathan Rockway <jon at jrock.us> wrote:
>
>> On Wed, 2007-12-12 at 09:18 +0200, Octavian Rasnita wrote:
>>>
>>> I haven't read anywhere that : Local is deprecated, and I use it  
>>> very often.
>>> Why is it deprecated? I found it works very well, and it is the  
>>> most simple
>>> solution.
>>
>> Who told you this?  It's not.
>
> On 11/12/07 at 7:59 AM -0800, John Napiorkowski <jjn1056 at yahoo.com>  
> wrote:
>
>> Then we also have :Local, which is also considered
>> somewhat deprecated in favor of :Path, :Default which
>
> I was confused too and wondered why I should stop using :Local.
>

I too was briefly confused, but then decided that It Just Seemed to  
Work And Play Nicely With Everything Else so I determined to ignore  
the advice and keep on doing what I was doing before.

I guess the problem is that if you want to change the uri that  
triggers an action, you're a bit screwed with : Local because it may  
require changing calls in your code i.e. $c->forward('foo');

Someone needs to write up a "what kind of dispatch to use when"  
guide.  Advent calendar volunteers anyone, we still have a few slots.



More information about the Catalyst mailing list