23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Development of Interactive Web Pages 62-13<br />

Example: Designing an online conference paper collection and evaluation Web site using PHP and<br />

MySQL: In this example, you will learn how to design a basic paper submission and evaluation system<br />

[5–7]. Three main code modules for this application are as follows:<br />

a. Paper submission<br />

b. Paper evaluation<br />

c. Administration<br />

Before writing the PHP code, make sure you have created a database with the following tables:<br />

Loginaccnt_table for user, reviewer and administrator with lastname, firstname, userid, password<br />

(encrypted) fields; papers_submitted_table with title, author, date, abstract, file_size, file, file_type,<br />

and review_ok fields; comment_table with subject, name, date, status, and detail fields.<br />

a. Paper submission: For the convenience of designing, the following design steps can be adapted:<br />

• The user has to login before submitting a paper (Figure 62.2). Required files: index.php, Login.php.<br />

• After user authentication, the user is directed to his homepage where he can submit paper,<br />

view reviewed papers, view comments, etc. For user authentication, login_check.php, session.<br />

php files are required.<br />

• If user ID and password are not found in the database, a message is generated to login again or a<br />

request to create an account. Required file: login_check.php, user_home.php, signup.php.<br />

• If user requests to create an account, change password. Required files: signup.php, signup_<br />

ok.php, password_change.php, password_updated.php.<br />

• After user logins to his homepage, user can submit a paper, view reviewed papers, download<br />

other papers, post comments for papers, view papers that are not yet reviewed, update his profile.<br />

Main Web page for<br />

users<br />

User authentication<br />

New paper<br />

submission<br />

Fill in author and<br />

paper details<br />

Given specified<br />

field, view available<br />

papers<br />

List of available<br />

papers in the<br />

specified field are<br />

displayed<br />

View papers<br />

reviewed<br />

List of papers<br />

reviewed are<br />

displayed<br />

Confirmation screen<br />

View comments<br />

Comments added<br />

by reviewers and<br />

authors for<br />

particular papers<br />

are displayed<br />

FIGURE 62.2<br />

The user view of the paper evaluation system for user/authors.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!