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.




Quoting "R. van Twisk" <[EMAIL PROTECTED]>:

> hey All,
>
>
> 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????
>
>
> kind regards,
> Ries van Twisk
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>




_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to