Dan Kirkpatrick wrote:

+Binding

Has anyone considered adding binding language for attaching listeners to GUI elements? I'm looking to separate my business logic (i.e. listeners) from my view (i.e. the GUI). Right now, it seems like swixml still requires Java code with intimate knowledge of the GUI defined in the XML file (such as the names of widgets). I'd like to separate that out into an external file, sort of like XBL. Of course, I want a much lighter-weight language than XBL, but XBL has a lot of good things from which to learn.

Might I suggest OGNL at http://www.ognl.org. It's currently used by a lot of the popular web frameworks (Tapestry, WebWork, add-on framework for WebObjects, add-on taglib for Struts) as a binding language. It takes a lot of the code that you normally have to write in Java out of the picture.

It's Open Source, of course.

- Drew
--

+---------------------------------+
< Drew Davidson | OGNL Technology >
+---------------------------------+
|  Email: [EMAIL PROTECTED]          /
|    Web: http://www.ognl.org   /
|    Vox: (520) 531-1966       <
|    Fax: (520) 531-1965        \
| Mobile: (520) 405-2967         \
+---------------------------------+




Reply via email to