maqetta/maqetta — Issue #1354: Allow declarative syntax for non-Dojo widgets (jQuery, YUI)
Author: jhpedemonte
Created: 2011-12-13 15:47:53+00:00
State: open
Labels: Priority High, Widget Libraries

Currently, jQuery and YUI widgets are instantiated by a bit of inline JS added to the page for each widget. This doesn't work well for our type of tool.

Instead, we should allow for non-Dojo widgets to be written declaratively and create code that parses and instantiates the widgets, similar to the Dojo parser.

For example, the jQuery Button might be added to the page as follows:

```html
Button
```

---

Ideally, it would be nice to create a generic parser that did most of the work, and allow the libraries to define a callback function with a small bit of code that handled the library-specific issues of widget creation.

@JonFerraiolo @peller