From: Robert Schneider on
And the winner is.....

Dmitry! (If I did not get him wrong)

Four different suggestions. But that from topmind and from jaquaraci
and seem to be unrealistic for me. Too much effort and I'm not quite
familiar with databases and aop. And the one from H.S. seems
reasonable. But it seems to me not the right solution if one (like me)
do not use a tool that generates the code (No, my code is still
handcrafted! Not a plastic trashy thing made in China for some bucks
or euros*).

So I think I will place the change detection logic near the command
execution unit. Every time a command is executed I will store
somewhere that item X has changed. Where X is a top data item, all
other items are subitems. This is not exactly was Dmitry has suggested
but I think this should work for me.

Hm... another idea: If I have command history I could query it to
detect that something has changed in X.

Thank you all,
Robert


(* Sorry, if chinese feel offended. But I think quite a few people
feel the same about chinese cheap and often trashy products.)