Before software can be reusable, it first has to be usable. - Ralph Johnson
Before software can be reusable, it first has to be usable. - Ralph Johnson
Before software can be reusable, it first has to be usable. - Ralph Johnson
May be in global context, i can keep note of last screen update time, and open time???
Because, i am not convienced with maintaining a field (even though it is a standard) for all the tables...
What do you thing the issue will be?
Before software can be reusable, it first has to be usable. - Ralph Johnson
Result will be similar to what you told in reply to my first question."In the database? Doesn't this tie your data to you view?" . if i put versionId in each table (we got 215 tables), so now all table contains auxiliary information which is not about entity (or domain).
Consider, each screen is screen object with URL ,screen description and menu placement (which i already have), now which contains one more information last updated time,.. i think it will work... what do you say??
One thing to be aware of, "last update time" is not the best candidate to use to version data because (unlike a numeric version field) timestamps can clash. Its very rare but they are open to this issue, so you may still get the odd lost update.
Before software can be reusable, it first has to be usable. - Ralph Johnson
Right, Sorry, lets keep version and read/right of versionId with synchronization, In Java, with every screen object......
For swing client, i have to right some code, but we can reuse almost all the code which we write for taking care of this issue..
In the case of keeping it into database, we need to use create some kind of class (or utility library) where we can pass table name with some additional required information for identifying that record, which tells whether this data is updated (stale) or not..Because i don't want to right down same code for all DAO's.
Before software can be reusable, it first has to be usable. - Ralph Johnson
Die Fledermaus does not fear such a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|