The current means of attaching existing nodes to other nodes is clunky and extremely dangerous for sites with a large number of potential child nodes. One solution to this problem would be to allow users to navigate lists of potential child nodes using DHTML and XML. The navigation could be simple pagination or browsing a hierarchy of nodes.
For hierarchical navigation starting from a given potential child node, Javascript code performs an XMLHTTPRequest to load all children of this node. Each child is listed and may be selected as a child of the parent, or "expanded" to show it's children.
Pagination would be fairly straight forward, though the full set of possible children would have to be queried every page, since ordering happens programatically, not in the database.
Javascript feature documentation:
http://developer.apple.com/internet/webcontent/xmlhttpreq.html
Note that this feature would have to degrade gracefully for browsers that didn't have full support for this feature.
Comments
Comment #1
Gunny-1 commentedthe XMLHTTPRequest is an activeX object from Microsoft. It is not controlled by W3C, will there be a problem in future if we use this object?