PROJECT REPORT OF BUILDING COURSE MANAGEMENT SYSTEM BY ...

PROJECT REPORT OF BUILDING

COURSE MANAGEMENT SYSTEM

BY DJANGO FRAMEWORK

by

Yiran Zhou

a Report submitted in partial fulfillment

of the requirements for the SFU-ZU dual degree of

Bachelor of Science

in the School of Computing Science

Simon Fraser University

and

the College of Computer Science and Technology

Zhejiang University

c Yiran Zhou 2010

SIMON FRASER UNIVERSITY AND ZHEJIANG UNIVERSITY

Spring 2010

All rights reserved. This work may not be

reproduced in whole or in part, by photocopy

or other means, without the permission of the author.

APPROVAL

Name:

Yiran Zhou

Degree:

Bachelor of Science

Title of Report:

PROJECT REPORT OF BUILDING COURSE MANAGEMENT SYSTEM BY DJANGO FRAMEWORK

Examining Committee:

Dr. Qianping Gu, Supervisor

Dr. Ramesh Krishnamurti, Examiner

Date Approved:

ii

Abstract

This report introduces the process of creating part of a course management system which

is a data-driven website used by the instructors and students. This website has four major components: grade, marking, group, and submission. The major part of the group

component and minor part of marking component are implemented by me and the implementation details will be introduced in the report. The implementation uses a tool called

Django Framework which is an excellent open source web application frame work for complex data-driven website development. The major part of this report will introduce how to

use Django to create a database table, web page user interface and inner logic to handle

user request by going through the group component implementation process.

iii

Contents

Approval

ii

Abstract

iii

1 Introduction

1

1.1

Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1.2

Significance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1.3

Method used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1.4

Limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1.5

Report Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

2 Preliminary

2.1

2.2

4

Django framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

2.1.1

Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

2.1.2

View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

2.1.3

Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

Python

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3 Project overview

5

6

3.1

An overview of the project . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

3.2

An overview of the Django framework development process . . . . . . . . . .

7

4 Create the database tables

9

5 Create the User Interface

12

6 Implement the view function

16

iv

7 Functionalities implemented in group component

19

7.1

An overall view of group component . . . . . . . . . . . . . . . . . . . . . . . 19

7.2

Functionalities in the project scope . . . . . . . . . . . . . . . . . . . . . . . . 20

7.3

Functions out of project scope . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

8 Conclusion

23

v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download