As far as what I think should be added for adding restful elements:
1) I'm undecided on the idea naming: #rest_form{}, #html_form{},
#form{} ? (I don't think I like #form{} despite it's succinctness,
just due to the implication of the others that this is indeed a normal
restful form, and not some special nitrogen construct.
2) #rest_submit{}, #html_submit{}l, #submit{}? (same arguments apply
above, though I'm less apprehensive about #submit{} as I am for
#form{}). Convince me :)
3) Either modifying #textbox, #password, etc to have either the
nitrogen id be emitted as the html name attribute, or add a 'name'
attribute to these elements. The latter, however, will begin to make
the naming of elements in nitrogen RATHER convoluted, since there will
be 'id' (the nitrogen ID), 'html_id' (the HTML ID), and then 'name'
(the name html attribute for forms). I think I prefer having the
nitrogen ID being emitted as the name of the form, but then the
inconsistency of having the HTML id being separated while the 'name'
not separated does not sit too well with me. I'll give this some
thought.
4) Validation: The validation is currently set to work with postbacks
and javascript, and not with standard submission. Reworking the
validation wiring would take some work. Something to consider.
So those are some thoughts that run through my head with this
proposal. I'm curious to hear what you and/or others would think
about this.
-Jesse