Click here to Skip to main content
12,065,045 members (42,405 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Design UI
I'm developing something akin to an ad-hoc query interface, and in this UI, the user is allowed to select AND or OR to add more conditions to the query.

What would you call this column? I'm using "Continuation", but I'm interested in finding a better 9and possibly shorter) word to use in its place. I can't use "operator" because I'm already using that for the various equality operators.

It has to be something that would be understandable by a non-programmer end user.
Posted 2-Jul-12 11:34am
Edited 2-Jul-12 11:35am
v2
Comments
Wes Aday 2-Jul-12 16:48pm
   
Condition?
   
The "condition" is regarded as the entire phrase, but nice try. :)
   
Now, let me understand this better.
You have a tree. Nodes are "operators", OK, arcs of the tree are "operands", and the whole thing is an "expression tree", which represents some "condition". What do you need to name: and operator, operand or the whole tree?

--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

As you understand, what you do is essentially some expression tree expressed in terms of application data, most likely probably also a tree. As I understand, you are using it in the SQL WHERE clause (or anything else?), but it does not give me an idea of the term. I think you should based it on the idea of the expression tree. A one-word term? Maybe, just "Expression" or "Expression" Smile | :) .

By the way, it would nice and very usable also to present this user's data as a visual tree-like representation, which would make the word "tree" redundant, and the word "Expression" less confusing.

Well, just one idea for now…

—SA
  Permalink  
v2
Comments
Vitaly Tomilov 2-Jul-12 19:10pm
   
Word 'Expression' does not signify an action, and I believe he needs a word that's in itself is an action ;) I offered a few below ;) Perhaps FILTER is the most pertinent in this case ;)
   
It is not supposed to signify an action. This is the user-modifiable data structure. Expression is actually the closest; the issue is to be explanatory.
Filter I don't understand -- is it just because it could be understood as both noun and a verb (to filter)?
--SA
Vitaly Tomilov 2-Jul-12 20:14pm
   
Well, he is asking for a word that best suits a column that contains AND and OR statements for the selection - isn't that a filter?
Espen Harlinn 3-Jul-12 16:21pm
   
Oh, you mean a filter expression ;)
Espen Harlinn 3-Jul-12 16:22pm
   
5'ed!
   
Well, thank you, Espen, but you see, this seems controversial. Perhaps you need more detail from John to give him better idea.
--SA
Espen Harlinn 4-Jul-12 3:49am
   
That usually helps :-D
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

AND + OR are generally used along with WHERE statement, so here's your clue Wink | ;)
Otherwise, you can call it a FILTER, because that's what it is, essentially Wink | ;)
Either way, it is a CONDITION, in a good sense though Wink | ;)

So pick one you like Wink | ;)
  Permalink  
Comments
Espen Harlinn 3-Jul-12 16:22pm
   
Fair enough :-D
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

From the top of my head:
  • Association
  • Separator
  • Combiner
You might even consider calling the equality operators the "association" and the "and"/"or" the "operator". I'm thinking it would be more intuitive to say the association between inputs is that the are "equal"/"not equal"/"containing" and the operator between associations are "and"/"or".
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160204.4 | Last Updated 2 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100