Xoetrope
HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Oldest known version of this page was edited on 2006-10-26 10:42:45 by LuanO []
Page view:

Data Binding Factories


XUI 3.0 sees a major reworking of the data bindings. Prior to XUI 3.0 almost all the bindings had bespoke constructors and this meant that the data binding factories were overly complicated. XUI 2.0.7 introduced a custom binding type aimed at allowing application specific bindings to be added. XUI 3.0 adopts this mechanism and extends it to all the bindings.

Thus, each binding in XUI has an argumentless constructor with the configuration parameters being passed via the setup method in a hashtable. All the arguments with the exception of the sourcePath and outputPath are evaluated prior to being sent to the binding factory. The common processing of attributes further unifies and simplifies the binding infrastructure.

With the unification of the bindings it is possible to introduce a registration facility for the bindings.

From the point-of-view of an application developer using XUI, the change to the binding infrastructure will have little effect, other than making the binding construction process more transparent. The added diagnostic facility should also make the use and debugging of bindings far simpler.
Page was generated in 0.0845 seconds