Re: Implementing NodeList

>...  In a
>multithreaded environment (which we have in our application) with very large
>documents (such as a database or document store) this kind of implementation
>trick is unacceptable.  Using ``live'' NodeLists is simply impossible in most
>cases -- ...

I completely agree with Steve on this. I'm using the DOM on a server
side application with extremely large HTML document trees. Despite the
current DOM spec's notice about the DOM not being usable in a multithreaded
environment it really has to be on the server-side when many clients
are accessing the same document at once. Otherwise resource usage becomes
intolerable. To make NodeList and HTMLCollection always live is
really asking for non-standard implementations. Maybe there needs to
be a 'Scripting DOM' for the browser implementors and a spec for
everything else that lends itself to somewhat efficient implementations.

I'm fairly certain that the most intensive use of the DOM will
not be for client-side special effects but on the server for
more interesting document services via servlets et al.

- Claude Zervas, UTL Co.

P.S. Am I correct in assuming that the usage of 'long' in the
HTML DOM Java interfaces should really be 'int' ?

Received on Tuesday, 28 July 1998 02:05:51 UTC