Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stateless Biz Objects Question
Message
De
05/01/2000 16:53:26
 
 
À
05/01/2000 15:53:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00313483
Message ID:
00313541
Vues:
32
David,

Sounds like were on the same path. Your ideas are interesting. Some sort of XML implimentation will probably be the way to go - got alot of reading to do.

Quiz - What country song does has this verse:
... ladies love outlaws like babies love a bunch of stray dogs ...


>I'm in the middle (muddle) of wrestling with that one too, related to some master tables that get updated quite often in a web-based app. I don't want just "last entire record saved wins", since people may be changing different fields. Ideas I'm considering:
>
>1) Query the record the user wants to edit, return it to user as XML, data object, ADO recordset, or embedded in the VALUE= clauses of HTML form INPUTs.
>
>2) Back at the server side, before returning the above value, persist the data in some fashion, such as a single-record dbf, or XML representation stored to disk (with filename matching a session ID of some kind).
>
>3) When saving updated data, grab the previous values and compare to determine which fields actually changed.
>
>As you know, that's what has to be done in some fashion unless "last record saved wins" is OK in your case. I'll post ideas in a few days after I have something working -- let us know if you find the ultimate solution.
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform