Hello!
I am building a fairly extensive relational database interface, and I am
toying with the idea of using Flash MX 2004's Form-Based programming. I tried
this a while ago, when "Flash Remoting" just barely got started, but there
wasn't enough help out for me to get answers to my questions. Maybe now, there
are enough of you genius programmer types to help me out! :)
As an example, I'll create a form for editing a Contact. This Contact will be
associated with a Client by a relational table (ContactClient), thus allowing
multiple contacts to belong to one client. The problem I am running into is
that many users will access this web service at once in a given day. One user
may find out that the contact, "Jane Doe", has a new phone number. At the same
time, another user may be instructed by management to remove the entire contact
record, as "Jane Doe" is no longer employed by Client (forgive the shakey
scenario--but you get the point). Both users will make changes on the Flash MX
2004 Form, the resolver will see the changes, and prepare a delta packet. If
the user who edits sends the packet AFTER the user who deletes the entire
Contact record, what will happen with the delta packet from the second user,
who merely issued an edit command?
It's a question of the stateless environment allowing for simultaneous, yet
disagreeable edit: who wins? Or, moreover, how does ColdFusion/Flash manage the
disagreement?
If my approach is entirely wrong, please let me know a better one--this
problem is plaguing me greatly. :(
Thanks!
Frank