W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2002

processSubtreeModified method?

From: Michael B. Allen <miallen@eskimo.com>
Date: Fri, 11 Oct 2002 16:16:51 -0400
To: www-dom@w3.org
Message-Id: <20021011161651.47b3f3d9.miallen@eskimo.com>

DOMSubtreeModified  events "may be fired after a single modification to the
document  or,  at  the  implementation's discretion, after multiple changes
have occured."

It would be nice if there were a processSubtreeModifiedEvents function that
would  dispatch  DOMSubreeModified  events  without  resorting to employing
another  thread.  I'm  using  C  but  I  can imagine with Java or any other
language  it  may  not  aways be easy or practical to make your code thread

My  UI  needs  to  redraw  when  a  subtree is modified but I don't want to
introduce  the  complexity  of using a thread to draw the UI in response to
these  events.  I  would  much  rather  just  call processSubtreeModifed at
strategic locations.


A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 
Received on Friday, 11 October 2002 16:15:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC