W3C home > Mailing lists > Public > www-forms-editor@w3.org > May 2007

XForms 1.1 LC comment on insert and delete

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Wed, 23 May 2007 16:58:37 +0100
Message-ID: <640dd5060705230858k24a54c3cgc160c84832e51e8e@mail.gmail.com>
To: www-forms-editor@w3.org

Although incredibly powerful, I feel that the latest versions of
insert and delete are just too complicated for use in day-to-day form
building. I find that I am constantly forced to look at examples in
the spec or our tutorials, especially when dealing with attributes.
And worse, if looking at mark-up from other authors, I find it takes a
while to work out what it is that some code is doing.

The core of the problem is the way that the attributes behave when
used in combination, which often requires reference to documentation
to be completely sure that you've got it right.

I have no immediate suggestions as to how to resolve this, but I would
say that in general it is easier to code if there are a number of
actions that do something small and specific, rather than one action
that does a lot. So, for example, copying a node from one instance to
another is probably easier to understand if the action is called
'copy' or 'duplicate'. The fact that an 'insertion' takes place seems
secondary, and it's even possible that a node will be overwritten
rather than inserted.



  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Wednesday, 23 May 2007 15:58:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:38:09 UTC