Student Course Registration -- 2

已完成 已发布的 Mar 9, 2015 货到付款
已完成 货到付款

Create a course registration system.

Preparation

•Using any text editor, create a file to store course name, course code, and maximum enrolment. Fields can be separated by a special character or special sequence of characters. The field separators must be character sequences that will not occur in a course name or a course code. Each line of the file is a separate course. Each course must have a unique name and a unique course code.

Example:

Dynamic AMP::PROG-3283::5

Javascript::PROG-2283::3

The reason for a low maximum enrolment in the example is to make testing easier.

•Using any text editor, create a file to store student name and student number. Fields can be separated by a special character or special sequence of characters. The field separators must be character sequences that will not occur in a student name or a student number. Each line of the file is one student. Each student must have a unique student number. In real world enrolments, two or more students may have the same name. The application must be tested to handle that case.

Example:

Robin Leach::DU-201-7184

Chris Norris::OL-706-3429

•Create any other file that may be needed to store data, for example, a file to list all students enrolled in each course. In a real world application, the code that enrols students may not have authorization to modify the student and course databases. Separating data by objective simplifies code and maintains data integrity.

The purpose of the data files is to contain all data necessary for the assignment. Scripts must not contain data. Separating data from functionality makes code re-usable and facilitates separation of duty where development experts perform development and data entry experts perform data entry.

Operation

•A visitor's initial access to the application will be through its main page. The main page will be named index.php.

•The main page will display a single form composed of a selection field and two text fields.

•The visitor will select a course from the selection field.

•The visitor will enter a student name in one text field and a student number in one text field. The visitor must not be shown a list of student names or student numbers.

•If the student information does not match an existing student record, the visitor must not be told which part of the student information does not match.

•If the student name and student number match an existing student record and if the course selected has not reached maximum enrolment and if the student has not enrolled in the course already, the student can be enrolled into the course.

•The visitor must be informed of the results of the enrolment attempt and allowed to select from the course list again.

The objective of the assignment is to demonstrate PHP skills. To maintain focus on the server side objective, the client side must be easy to use but should not include any code except for HTML.

Testing will include:

•enrolling in courses that do not exist

•enrolling students that do not exist

•enrolling students who have identical names

•enrolling a student in courses in which the student is already enrolled

•enrolling students in courses that have reached maximum enrolment

•verification that the PHP scripts contain no data

Part A consists of:

•a text file to store course name, course code, and maximum enrolment

•a PHP script that reads the course file and uses the course file data to generate an HTML form that allows a visitor to select a course

Part B consists of the entire assignment and must be submitted by the end of the assignment due date.

PHP

项目ID: #7277945

关于项目

1个方案 远程项目 活跃的Mar 9, 2015

授予:

neonapp

Hello i am php/Symfony2/ Codigniter/Jquery expert. My portfolio will express my work quality that is very important for every deal between you and me and my mission is always be fulfil the client requirement wi 更多

$35 CAD 在1天内
(7条评论)
3.1

1 威客就此工作平均出价 $35

masterspk

A proposal has not yet been provided

$284CAD 在1天里
(8条评论)
2.5