Online Voting System: ECE345 - Senior Design
Online Voting System: ECE345 - Senior Design
Introduction The purpose of this project is to provide an online voting system for the ECE department. The ECE department has so far been using a paper voting system, which made it difficult for full participation and lack of automated style. The online voting system will help improve these difficulties by providing automated system through any web browser. The website will provide two user-level accesses: voter and administrator. The voters can vote on a particular subject and view the current polls. The administrators can create polls or delete polls from the database. The system will also keep track of non-voters so that proper notifications can be sent to those users upon deadline. This system will provide an up-to-date result of the poll while providing a simple interface for both administrators and voters. This project will be useful in two ways. It will provide an easier system for the ECE department than traditional voting system and it will also help me gain/improve my experience in web technologies. The following will be used to create this system: HTML, DHTML, JavaScript, CGI/Perl and mySQL. Project Functions and Goals User login system and secure administrator login system User registration system into the database. Add/delete polls under administration privilege. Provide graphical output of the poll result. Email system may be implemented to notify non-voters of the deadline. Interface to ECE departments database may be implemented.
Block Diagram
Table 2d. (second stage for poll; same for poll_2, poll_3 and etc.) Block Diagram Description The online voting system will be implemented using my personal web account with the http://www.useractive.com. The server will be a popular Apache Server running under a customized Linux provided by Useractive. CGI/Perl and mySQL are also provided by Useractive. CGI (Common Gate Interface) will be programmed in Perl and the interface to the database also use Perl syntax. Administrators will have a secure access to their page using .htaccess and .htpassword used in UNIX compatible machines. MySQL database contains three or more tables. A sample database structure below. USER table will contain: a) Login user login name b) poll_1 1 if voted, 0 if not voted c) poll_2 1 if voted, 0 if not voted d) ..and so on 1 if voted, 0 if not voted ADM table will contain: a) Adm poll_1 poll_2
..and so on POLL_1 will contain (up to 9 sub-categories): a) sub-category 1 i.e. yes b) sub-category 2 i.e. no c) and so on i.e. maybe POLL_2and so on.
Work Schedule
Project Phase -Learn Perl syntax. -Create adm and users database. -Create initial html forms. -Create database interface using cgi/perl -Start cgi/perl adm interface -Finish interface programs in cgi/perl to mySQL database for both retrieving form and writing into the database for ADM. -Start interface programs in cgi/perl to mySQL database for both retrieving form and writing into the database for USER. Finish interface programs for USER. -Fix/Debug database interface programs. -Make a presentable html/dhtml/javascript web pages. -Work on Special Circuit Project. -Implement extra interfaces if time allows. Ex> connect to ECE departments database. DEMO PRESENTATION FINAL PAPER DUE Start Date 6/15/00 6/16/00 6/17/00 Ending Date 6/15/00 6/16/00 6/18/00 Duration 1 day 1 day 2 days
6/19/00
6/25/00
6 days
6/26/00 6/29
6/28/00 7/26/00
2 days 28 days
Cost Analysis
The cost of the whole project is divided into labor and parts. The parts include an account with the useractive and some reference books on cgi/perl/sql. The approximate salary for a web designer is over $60,000 at this time but my I prefer this project is more than a normal web design, so I will bump my salary to $100,000 per year. This would end up as $52.08 per hour. Although Im using an external server to complete this project at $10.00 per month, I will assume project cost as if Im starting from the scratch. That would require an office, a powerful computer, T1 line at the minimum and software. Linux and mySQL are free programs off the Internet. The table below is an estimated cost of this project. Description
Labor 300 Hours ($52.08) Parts Office Rent (2 months at $1000/month) Computer (w/ 21 inch monitor) T1 or other high speed ($1000/month)
Cost
$15624.00 $2000.00 $3000.00 $2000.00
Subtotal Labor: $15624.00 Subtotal Parts: $7000.00 Total: $22624.00 Special Circuit Project It has not been assigned to me at the time of this write-up.