Re: Concurrency control

2011-11-15 Thread 0x20h
Am 14.11.2011 17:14, schrieb phpMagpie: > Not sure if there is an existing behaviour, but if you create a > created and modified field Cake will automagically update them. Check > these to see if they have been updated since form load et voila. Looking at the modified date does guarantee mutual ex

Re: Concurrency control

2011-11-15 Thread Ernesto
that's exactly what i'm doing. :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+u

Re: Concurrency control

2011-11-14 Thread euromark
The only behavior in that direction I can think of is called "LockTable Behavior" it restricts to either read/write for a complete table but maybe you can modify it to restrict access to rows for certain users for a certain amount of time etc On 14 Nov., 17:14, phpMagpie wrote: > Not sure if th

Re: Concurrency control

2011-11-14 Thread phpMagpie
Not sure if there is an existing behaviour, but if you create a created and modified field Cake will automagically update them. Check these to see if they have been updated since form load et voila. HTH, Paul -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Concurrency control

2011-11-14 Thread Ernesto
Hi all i'm looking to implement a Concurrency Control Behavior who looks if data has been modified by someone between the time user loads and tries to save it. Is there any pre-made behavior? i lurked the bakery but found nothing. -- Our newest site for the community: CakePHP Video Tuto