[Ur] Javascript toolkit integration

Davor Ocelic docelic at spinlocksolutions.com
Sat Dec 11 05:50:12 EST 2010


Hey folks,

Just a quick question, how would one approach integrating some kind
of a Javascript toolkit (e.g. http://dojotoolkit.org/) into Ur/Web?

One could of course write the toolkit-specific code manually as it
wouldn't clash with Ur, but that's not an optimal idea.


To see what code one would have to insert for an e.g. dropdown
widget, you could see:

  http://dojotoolkit.org/reference-guide/dijit/form/DropDownButton.html#dijit-form-dropdownbutton

Click on View Example, and in the new window that pops up, there are
"JavaScript" and "HTML" tabs respectively.


This toolkit (and probably all others) also support some non-static
behavior, such as dynamic ajax requests, events and some form of IO,
which are additional things to consider.

Thanks,
-Davor



More information about the Ur mailing list