Elegant way of parsing (at the server side) the query constructed from the UI

Posted by Vishal on Stack Overflow See other posts from Stack Overflow or by Vishal
Published on 2010-04-12T19:14:39Z Indexed on 2010/04/12 22:42 UTC
Read the original article Hit count: 251

Filed under:
|

The UI looks like:

Condition 1 (Checkbox)

and/or (Radio buttons)

Condtion 2 (Checkbox)

and/or (Radio buttons)

Condition 3 (Checkbox)

and/or (Radio buttons)

Condition 4 (Checkbox)

I would like to parse (at the server-side) the query constructed from the client (for possible combinations). Any design ideas?

PS: May be the UI can be designed better.

Posts appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about logic