40
edits
| Line 7: | Line 7: | ||
==== RDF templates and RDF loading ==== | ==== RDF templates and RDF loading ==== | ||
A big shortcoming of rdf templates now is that they seem to load data sources synchronously | A big shortcoming of rdf templates now is that they seem to load data sources synchronously (Neil pointed out to me that this is just an impression - they actually load asynchronously but so fast that they block the browser anyway). A large file certainly blocks the browser. They seem to load the datasource as part of template parsing which doesn't allow a page to register as a builder listener and so catch when the first build of an element completes. As part of version 2, I think loading shouldn't block the browser and there should be an event like "datasourceLoaded" to mark its end. | ||
edits