WO Ajax
WO Ajax
- Subject: WO Ajax
- From: Mike Schrag <email@hidden>
- Date: Mon, 24 Apr 2006 15:22:01 -0400
Ruby and Ajax have come up a lot on the list, and I believe Anjo
mentioned this a couple weeks ago, but I just wanted to post about it
again because it's just that cool :) ... I finally got a chance to
try out the Ajax framework that Anjo brought into Project Wonder
(based on Jean-Francois Veillette's code). Kudos to both of them. I
was amazed at how easy-to-use things were. For people who may be
scared by Wonder, the Ajax frameworks are basically standalone (they
depend only on the ERJars framework, which just has some shared jar
files in it).
Grab Ajax.framework, ERJars.framework, and the AjaxExamples app from
the latest build on http://www.mdimension.com/~wonder, and run the
AjaxExamples Application to try it out.
As an example of some cool things you can do:
* AjaxAutoComplete: hand it an NSArray of possible values and a
"value", like a WOTextField, and it will "just work" for providing an
autocomplete popup on your textfield
* AjaxUpdateContainer: just wrap any block of your HTML/Components in
this, and you can refresh that block without a browser refresh (i.e.
it partially updates your page).
* AjaxSlider: a slider bar that binds to a value like a normal form
component
* AjaxDraggable/AjaxDroppable: wrap any block of HTML/Components in
this and you can drag and drop them on eachother. When you drop, it
will call your bound action and the object you bound to your
draggable will be wired up to the binding you assigned on the droppable.
* AjaxSortableList: bind an NSArray to an AjaxSortableList and as you
drag around the items of a UL or OL, the array that backs it will be
reordered accordingly
When you first use them, they seem kind of magical (see: http://
www.crazyabouttv.com/Images/magician.jpg and imagine the role of the
magician played by Project Wonder). So go forth, keep up with the
Joneses, and make your WO apps fancy and sexy :)
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden