> Craig: what kind of jquery stuff you planning on presenting? We've
> been using it a lot lately, and currently I'm toying with jquery
> UI on a project.
Mostly the same stuff I presented at last month's STLRuby meeting:
http://stlruby.googlegroups.com/web/jquery-form-demo.html?gda=G3Rb-EYAAACzMh9VBf\
fVXjQ4WKZH2cwoCva9WvD2T0qBpxfb_L-kiWG1qiJ7UbTIup-M2XPURDQYBs_o1ASmIwnQBkOu0xRTVZ\
yV-dsBF7OAUyDQwk6p7g
http://groups.google.com/group/stlruby/t/fe4b9b996897a553
http://groups.google.com/group/stlruby/t/49b9d8b8e929a24c
I actually wrote most of the jQuery code in my demo during the live
presentation. (Although I had previously written it a few hours before
as practice.) Tough to do, but it showed how simple it can be to use
jQuery in the real world.
I've used jQuery in a medium-sized Rails app with a pretty complex
input form. The jQuery is used to modify fields when other fields are
changed. Some of the changes require AJAX calls back to the server,
and others just do client-side modifications.
Last night I started working on a client-side unobtrusive validation
framework. All the HTML does is declare field types (as classes) and
whether the field is required. The jQuery code finds all the types,
runs validations, and marks each field (and associated labels) as
valid or invalid. I'm hoping to make the code available as Open Source
when we're done with it.
Craig