Re: [Catalyst] API Versioning for Web Services

2008-07-28 Thread Bill Moseley
On Sun, Jul 27, 2008 at 06:42:23PM -0500, [EMAIL PROTECTED] wrote: widget.1.get widget.2.get etc. Icky, I think the API should be versioned -- not methods. What if the methods across versions are not compatible (widget1 output used with foo2) versioning the api

[Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-07-28 Thread Tobias Kremer
Hi list, I've written about this at least once in the past and still haven't been able to figure out a proper solution to the problem. We're getting loads (up to 30-40 per day) of the following fatal error: Duplicate entry 'flash:***' for key 1 [for Statement INSERT INTO sessions2 (id) VALUES

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-07-28 Thread Tobias Kremer
Quoting Peter Flanigan [EMAIL PROTECTED]: Tobias Kremer wrote: Duplicate entry 'flash:***' for key 1 [for Statement INSERT INTO sessions2 (id) VALUES (?) with ParamValues: 0='flash:***'] at /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Session/Store /DBIC/Delegate.pm line 52 What

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-07-28 Thread Peter Flanigan
Tobias Kremer wrote: This is a different problem than the one discussed last week or so! I'm pretty sure it's a classic race-condition. Then I would suggest placing a lock around the critical region of code. IPC::SRLock perhaps (which I wrote) -- Regards

Re: [Catalyst] API Versioning for Web Services

2008-07-28 Thread Matt S Trout
On Sun, Jul 27, 2008 at 09:09:46AM -0700, Bill Moseley wrote: 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,

Re: [Catalyst] Squatting::On::Catalyst

2008-07-28 Thread Matt S Trout
On Mon, Jul 28, 2008 at 08:27:27AM -0700, John Beppu wrote: *Squatting::On::Catalyst* Squatting is a web microframework for Perl that's based on Camping from the Ruby world. During the transition from Ruby to Perl, Squatting gained some mutant powers which is why I'm writing to you today.

Re: [Catalyst] Squatting::On::Catalyst

2008-07-28 Thread John Beppu
On Mon, Jul 28, 2008 at 2:40 PM, Matt S Trout [EMAIL PROTECTED]wrote: On Mon, Jul 28, 2008 at 08:27:27AM -0700, John Beppu wrote: Imagine if you could install a blog, a wiki, a forum, or a store just as easily. Yeah, we'll be doing that for arbitrary Catalyst components for 5.80, I