STATUS: as of 2010-10, a partial implementation of XPath dependencies in the UI and in the model is in place in the XForms engine. This is not considered fully stable yet but it's getting there.
XML in XFormsXML and XPath play a big role in XForms:
There are places wIthin an XForms implementation (also known as an XForms engine or XForms processor) where handling dependencies is desired:
By dependencies, we mean that a set of XPath expressions express relationships between nodes in XML documents and properties or user interface controls.
The XForms recalculation algorithmXForms defines a recalculation algorithm for the data model, which provides the following benefits:
As of 2010-10, Orbeon Forms does not implement this recalculation algorithm, for a couple of reasons:
In this project, we would like to implement a static analysis version of the XForms dependency algorithm based on document projection:
XForms UI dependenciesIn XForms, the view, consisting of UI controls, is dynamically bound to data (in the model) using XPath expressions. XForms doesn't specify exactly how UI controls reevaluate their bindings to the data model upon UI refresh. Instead, the specification says that "The user interface reflects the state of the model". However, in practice, refreshing the entire user interface becomes costly for large forms. Here too a dependency system should go a long way towards increasing performance. In this project, we would like to achieve the following: References
|
