[Ur] Javascript toolkit integration
Davor Ocelic
docelic at spinlocksolutions.com
Sat Dec 11 08:55:24 EST 2010
On Sat, 11 Dec 2010 08:43:14 -0500
Adam Chlipala <adamc at impredicative.com> wrote:
> > 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.
>
> One thing to keep in mind is that Ur/Web presents a novel alternate
> picture of how to program client-side applications. Many newcomers
> ask how they can access jQuery. From my understanding of that
> library, I think the question is misguided, since Ur/Web provides,
> out-of-the-box, alternate, better ways of doing the main things
> jQuery does. You might find that everything you're accustomed to
> needing to build up laboriously in JavaScript is actually trivial to
> do in the default Ur/Web client-side model.
Let me ask a specific question: let's say you wanted to insert a date
selection widget with functionality such as:
http://dojotoolkit.org/reference-guide/dijit/form/DateTextBox.html#dijit-form-datetextbox
(Click "View example" on that page, as usual).
Would you code it yourself, or use a toolkit?
More information about the Ur
mailing list