[EMAIL PROTECTED] wrote: >>> Quoting "R. van Twisk" <[EMAIL PROTECTED]>: >>> >>> >>>> I have a question... >>>> >>>> >>>> I want to do simple CRUD operations on two tables (1-n relation >>>> between >>>> two tables). >>>> This is going to be a experiment for a multi-user application we are >>>> planning to write. >>>> >>>> The method is like this: >>>> - Show a list of records >>>> - When a record is clicked we show the values in the input fields >>>> below, ready for editing. >>>> - When the user hit's the save button the data needs to be saved to >>>> the >>>> database (PostgreSQL). >>>> >>>> One of the requirements we have is that we need to have record locking >>>> for the DB. >>>> >>>> This means that if the record is on edit mode on a user, the other >>>> user >>>> is not allow >>>> to put the same record in edit mode. >>>> >>>> >>>> My questions are: >>>> - How can we implement proper record looking for each user? >>>> - What data format between the client and teh server is most suitable >>>> (XML, JSON, others?) >>>> - What sort of framework is 'best' to run on teh server (Java based, >>>> php based and what sort of frameworks can already do the above for >>>> record locking). >>>> - Did I forget anything???? >>> >>> >>> The latest issue of Dr. Dobb's Journal (Oct 2006) has an article on >>> exactly what you're trying to do, using AJAX. You should >>> definitely read it. >>> >>> >> >> Thank you for your answer: >> I have been looking at this site : http://www.ddj.com/ >> >> But I cannot find the article, do you happen to have a long to it? >> > > > Here you go... > > AJAX & Record Locking > Multiuser web applications have their own challenges > http://www.ddj.com/dept/lightlang/192700218 > > I hate to admid... but I spoke to soon...
Dr Dobbs website was overwhelming with ads and moving flash thingies and I had difficulties to navigate around. After some more clicking I found it indeed... It looks like what I had in made is the same (but in a flash application). I might pop-up some more questions about this and related subjects :) thanks, Ries _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
