UIZE JavaScript Framework

2009 NEWS 2009-01-12 - NEW DOCUMENTATION: Widget Adoption

Documentation has been added for the Widget Adoption mechanism of the Uize.Widget.Page class.

A facility exists within the Uize.Widget.Page class for automatic adoption of child widgets that are declared inside a page using a special declarative syntax. This mechanism allows us to place the markup and the data that a JavaScript widget needs in the page in a declarative manner, without having to explicitly require the JavaScript modules that the widget might need, and without having to explicitly add the child widget in the page widget's implementation. Widgets can be declared in this way without having to source in all JavaScript modules that the widget might require ahead of the declaration block. The newly added documentation discusses this mechanism in thorough detail.

LEARN MORE