Re: [Catalyst] Use Undo on A List Apart

2007-07-28 Thread Matthieu Codron
I do not know how this could be generalized for all apps. In the simple cases -- maybe. Consider the following scenarios that you would need to handle: * Change happens, the updated data affects the next 5 actions (via the current user or another user(s)) and then the user requests an

Re: [Catalyst] Re: flash with DBIC session storage

2007-07-28 Thread Bill Moseley
On Sat, Jul 28, 2007 at 11:21:56PM +0200, A. Pagaltzis wrote: > > User visits page A. > > User visits page B in another tab. > > User submits form A. > > User submits form B. > > A updates the flash. > > B updates the flash. > > Page A2 loads with whatever flash won. > > Page B2 loads with whatever

[Catalyst] Re: flash with DBIC session storage

2007-07-28 Thread A. Pagaltzis
* Jonathan T. Rockway <[EMAIL PROTECTED]> [2007-07-28 02:35]: > On Fri, Jul 27, 2007 at 11:57:01AM -0700, Mesdaq, Ali wrote: > > Are you sure that InnoDB would solve this issue? Even if just > > a row was locked and you have 2 inserts at the exact same > > time how would that resolve the issue? >

Re: [Catalyst] Use Undo on A List Apart

2007-07-28 Thread Wade . Stuart
Matthieu Codron <[EMAIL PROTECTED]> wrote on 07/28/2007 11:22:36 AM: > > Le 28 juil. 07 à 14:05, Matt S Trout a écrit : > > > >> > >> I like more the idea of a generic undo request. This could be part of > >> a plugin providing this action and the necessary infrastructure to > >> implement the

Re: [Catalyst] Use Undo on A List Apart

2007-07-28 Thread Matthieu Codron
Le 28 juil. 07 à 14:05, Matt S Trout a écrit : I like more the idea of a generic undo request. This could be part of a plugin providing this action and the necessary infrastructure to implement the "un-doing" of the action. I fail entirely to see why this should be a plugin rather than part

Re: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-28 Thread Tobias Kremer
Am 28.07.2007 um 10:12 schrieb Jonathan T. Rockway: On Sat, Jul 28, 2007 at 09:15:36AM +0200, Tobias Kremer wrote: I think you're right: The error is due to my poor-man's approach of load-testing. BTW, how are you invoking ab? I think each request should get its own cookie, which means the

Re: [Catalyst] Use Undo on A List Apart

2007-07-28 Thread Matt S Trout
On Sat, Jul 28, 2007 at 01:00:14PM +0200, Matthieu Codron wrote: > Hi, > > Le 26 juil. 07 à 08:55, Bill Moseley a écrit : > > >There's a recent article titled "Never Use a Warning When you Mean > >Undo" at http://alistapart.com/articles/neveruseawarning. > > > >I'm wondering about the implementat

Re: [Catalyst] Use Undo on A List Apart

2007-07-28 Thread Matthieu Codron
Hi, Le 26 juil. 07 à 08:55, Bill Moseley a écrit : There's a recent article titled "Never Use a Warning When you Mean Undo" at http://alistapart.com/articles/neveruseawarning. I'm wondering about the implementation. I read that too. Interesting, but from what I see undo is not so easy to

Re: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-28 Thread Jonathan T. Rockway
On Sat, Jul 28, 2007 at 09:15:36AM +0200, Tobias Kremer wrote: > I think you're right: The error is due to my poor-man's approach of > load-testing. BTW, how are you invoking ab? I think each request should get its own cookie, which means the same id shouldn't be being inserted more than once.

Re: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-28 Thread Tobias Kremer
Am 28.07.2007 um 02:26 schrieb Jonathan T. Rockway: This adds a lot of complexity, though. Is this really a problem that your users experience, or is it an artifact of poor load testing practices? I think you're right: The error is due to my poor-man's approach of load-testing. I believe th