[thesite] RE: [***forum] Re: VotingReqs

isaac isaac at members.evolt.org
Mon Feb 4 00:29:00 CST 2002

> >question.votepriv (can vote on this question)
> >question.viewpriv (can view the results of this question)
> why, on gods earth, would viewpriv be on the question if it has to do with
> whether you can view the votes?

Because you're viewing the votes ON the question.

Otherwise if you have vote.viewpriv, where is that data coming from?! From
the question. And then why the doubling up? No reason (other than possibly

> here's the test of tests: you have absolutely no context and no prior
> knowledge of this development process. you look at the questions table and
> you see the field "viewpriv". what immediately comes to mind? that
> dictates who can view the question right? so, what, are we gonna make the
> name:

View question and results together. I don't know why you'd view the results
without the question.

> question.resultsviewpriv ?
> sounds like that should really be:
> result.viewpriv


> which, is really, in our case:
> vote.viewpriv

Why? Then it's suddenly on every single vote row instead of just the parent
question row.

Look, I understand your love of data purity or whatever, but I can't
understand wanting that mass duplication.

> i guess, what i'm saying is, if you're leaving the database stuff to me,
> leave it up to me :). i think it's a useless feature that dirties the
> database design. unless...
> can you think of an example of when we'd need to use this feature?

When you would need to restrict voting to one group, and viewing to another.

 - theforum issue: votes from registered voting members. viewing from
 - BoD issue: vote from board. maybe viewing from theforum.

I'm thinking beyond evolt.org's voting app for thesite/theforum. I'm
thinking about this extra field that gives the app that much extra power for
when it's released on sourceforge/whatever, or written up in an article for
others to use.

If you'd rather not handle the database because you think it's a dirty
concept (like you refused to use the author pic... Oops!), I'll find another
way to take care of it. That's OK.


triple zero digital | upstairs at 200 the parade, norwood 5067
(08)83320545 | www.triplezero.com.au | isaac at triplezero.com.au

More information about the thesite mailing list