best name for object for collection of semantically-related inputs?

I'm writing an HTML form generation library. There's a top-level Form class, and at the bottom there are classes for each type of HTML form input object (Select, Textfield, Radio, etc.). There's a class in between, that holds groupings of 1 or more semantically related input objects.

For example, one type of this class could be called 'Login', and would contain a Textfield input and a Password input. As another example, the primary usage of the form library will be to generate online surveys, so the intermediate classes will be survey questions of various sorts.

My question is what to generically call these intermediate level classes. Some of the things that have been suggested within our working group are 'Set', 'Fieldset', 'Group', 'Block', 'Chunk', and 'Conglomeration'.

Several of these suggestions are "okay", but none of them have tripped the "that's it!" interrupt. (The one that came closest is the latter, but that's (a) far too long and (b) too subject to mispeling.) Does anyone have any better suggestions?

Answers


just call it a Foo or SematicallyRelatedInputs1 and start coding. a reasonable name should occur to you fairly soon. don't feel bad if you change the name a few times.


Component, as in the "Login Component" or the "Multivalued Response Component".

FYI. I find http://thesaurus.reference.com very helpful for problems like this.


'FormBlob' perhaps?

'GroupedInput'?

If single word terms fail, fall back onto multitermed mashups =)


TagSet might work. If i understand you correctly you'd used combinations of both things like:

<input type="text" /> <input type="password"/>

and

non-form elements like:

<dl>
  <dt>Question</dt>
  <dd>Answer<dd>
</dl>

or

The's are all collections of HTML tags. TagSet seems like a simple descriptive name.


Need Your Help

C# LINQ how to flatten parent list and two nested children lists into a new list

c# linq list

I need to flatten a parent list and two child lists into one list. How can I do this using c# and linq?

How to zoom coverflow images using pinch zoom in android

android imageview zoom pinch

i have created a coverflow using the code given by http://android.jmsliu.com/138/android-infinite-loop-gallery.html.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.