The XForms Computation Engine: Rationale, Theory and Implementation Experience.

John M. Boyer, Mikko Honkala · 2002

This paper reports the successful efforts to change the W3C's next-generation Web forms working draft specification, XForms, from a computation engine architecture based on form-author-specified recalculation order to an automated determination of recalculation order based on optimal graph algorithms. We trace the historical beginnings of these algorithms from Knuth and Tarjan to their first known applications in electronic spreadsheets and XFDL (the first XML-based electronic forms vocabulary). The algorithms are then presented in the context of a detailed example. Also included are the implementation details that were necessary to add the new XForms recalculation engine to the open-source X-Smiles web browser. When compared to an implementation of the approach in earlier XForms drafts, running times were reduced from seconds to instantaneity. Finally, the paper discusses some of the technical challenges encountered when rationalizing the graph algorithms with the properties of XPath and an implementation of XPath.

Read the paper · More papers on PaperTik