Re: [Catalyst] API Versioning for Web Services

2008-07-27 Thread Wade . Stuart
Bill Moseley <[EMAIL PROTECTED]> wrote on 07/27/2008 11:09:46 AM: > On Sat, Jul 26, 2008 at 06:00:39AM +0100, Matt S Trout wrote: > > > > sub widget :Local VersionedXMLRPC('widget.get') { > > > > sub widget_xmlrpc_v1 { > > > > have VersionedXMLRPC apply a custom a ction class that does ->can > > b

Re: [Catalyst] API Versioning for Web Services

2008-07-27 Thread Markus Holzer
Bill Moseley schrieb: I'm looking for suggestions how to best support multiple API versions in an application. The API and web share many controller actions. As is not uncommon, actions available for the API are defined with an attribute: sub foo : Local XMLRPC( 'foo.get' ) { This is grea

Re: [Catalyst] API Versioning for Web Services

2008-07-27 Thread Bill Moseley
On Sat, Jul 26, 2008 at 06:00:39AM +0100, Matt S Trout wrote: > > sub widget :Local VersionedXMLRPC('widget.get') { > > sub widget_xmlrpc_v1 { > > have VersionedXMLRPC apply a custom a ction class that does ->can > based dispatch, same way Catalyst::Action::REST does. C::Action::REST uses "Acti