SciFi and Fantasy eBook Club discussion
General Topics
>
on-line nomiation tool
date
newest »

I'm willing to help. I'm mostly SQL server and some .NET, so may not be useful in development, but I can be a tester.


Here's a first cut at the basics of the database design (click it to view full-sized). I'm sure there will be some other tables once I start getting into the real nuts and bolts of it.


I think this is looking pretty good to start.
What database design software are you using? (And is it open source?) I want to be sure I'm reading the color coding of keys correctly. On the nomination table it looks like poll_id and user_id are pink and second_user is a faded pink. Are they just foreign keys or unique keys?
What database design software are you using? (And is it open source?) I want to be sure I'm reading the color coding of keys correctly. On the nomination table it looks like poll_id and user_id are pink and second_user is a faded pink. Are they just foreign keys or unique keys?

It's free, not sure if it's open-source or not.
Looks like the yellow light bulb is the primary key, solid diamond is "not null" while open diamond allow nulls, and pink/orange (whatever it is) is a foreign key.
Did you want to handle the constraints (1 nomination, 1 second per user per poll) on the front end? Or did you want unique keys on the table?
Also, you might want to add a reject_user_id key to the nominations table for when it is determined the book is not valid for the poll. Only mods would be allowed to reject.
Also, you might want to add a reject_user_id key to the nominations table for when it is determined the book is not valid for the poll. Only mods would be allowed to reject.

The server-side will be developed in PHP using a MySQL database, and probably make use of the CodeIgniter PHP framework. Wherever applicable, it will try to make use of the GoodReads.com API, such as to add books, validate users, etc.
If you think you might like to contribute, let me know, and we can coordinate and delegate (I'll probably use GitHub.com to host the source code repository). Front-end developers (e.g. JavaScript, JQquery, etc.) are certainly needed, as my strengths fall on the PHP/MySQL side. Web designers, graphic artists and such would be welcome to make it look at least semi-professional. At some point, of course, testers will be needed, too. Other server-side/DB developers are welcome, too, though at this point (prior to feature bloat and requirements creep!), I'm not foreseeing the need for a whole army of developers.