• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO Ajax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO Ajax


  • Subject: Re: WO Ajax
  • From: David LeBer <email@hidden>
  • Date: Mon, 24 Apr 2006 15:45:17 -0400

On 24-Apr-06, at 3:22 PM, Mike Schrag wrote:

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 :)

Yes, ditto on the kudos, and Mike, thanks for the additional components!

I built a little color picker using the AjaxSlider that roundtrips values to the server on a slider change for a demo at the last tacow meeting and it was a lot of fun to do.

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >WO Ajax (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: OT: Is used WO 5.3.1 in production (deployment)?
  • Next by Date: multiple submit - possible workaround advice
  • Previous by thread: WO Ajax
  • Next by thread: Re: WO Ajax
  • Index(es):
    • Date
    • Thread