ISSUE-99: Should all APIs utilize live NodeLists and live Graphs?

Live NodeLists and Graphs

Should all APIs utilize live NodeLists and live Graphs?

State:
POSTPONED
Product:
RDFa 1.1 API
Raised by:
Manu Sporny
Opened on:
2011-07-10
Description:
Philip Jägenstedt wrote:

These now return NodeLists, but is it intentional that these collections are not live?

Manu Sporny wrote:

We /could/ return a live node list, but were concerned that it would hurt browser performance. This is an area where we could really use some of your input.

My understanding is that the Microdata spec suffers from the same issue - if you add an element to the DOM that contains an itemscope statement, the code managing the live NodeList that getItems() returns would have to detect the addition and re-parse at least part of the document in order to update the .properties collection, no?

We attempted to prevent this sort of mandatory re-parsing of the document unless the Web developer specifically requested it.

The Working Group should analyze if there is any way to utilize live NodeLists and live Graph objects for all API implementations.
Related Actions Items:
No related actions
Related emails:
  1. Telecon Agenda - August 11th 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-08-09)
  2. Possible regrets Re: Telecon Agenda - July 28th 2011, 1400 UTC (from Steven.Pemberton@cwi.nl on 2011-07-28)
  3. Re: Telecon Agenda - July 28th 2011, 1400 UTC (from gregg@kellogg-assoc.com on 2011-07-27)
  4. Telecon Agenda - July 28th 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-07-26)
  5. Telecon Agenda - July 21st 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-07-18)
  6. Re: Telecon Agenda - July 14th 2011, 1400 UTC (from shane@aptest.com on 2011-07-14)
  7. Re: Telecon Agenda - July 14th 2011, 1400 UTC (from scorlosquet@gmail.com on 2011-07-14)
  8. Telecon Agenda - July 14th 2011, 1400 UTC (from msporny@digitalbazaar.com on 2011-07-12)
  9. ISSUE-99 (Live NodeLists and Graphs): Should all APIs utilize live NodeLists and live Graphs? [RDFa 1.1 API] (from sysbot+tracker@w3.org on 2011-07-10)

Related notes:

No additional notes.

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 99.html,v 1.1 2015/03/27 14:12:36 vivien Exp $