Sample web-based library system
-
Upload
gary-tsang -
Category
Education
-
view
19.390 -
download
4
description
Transcript of Sample web-based library system
Hong Kong Advanced Level Examination
2009
ASL Computer Applications Paper 2
Web-based library
system
Xxxxxxxxxx College
xxxxxxxxxx
7A(xx)
P.1
Content Problem definition…………………………………………………………………...3
Background……………………………………………………………………..3
Assumption……………………………………………………………………..3
Feasibility studies…………………………………………………………………….4
Present environment…………………………………………………………….4
Problems on present environment………………………………………………5
Web-based library system………………………………………………………6
Advantages of web-based library system………………………………………6
Design phase…………………………………………………………………………7
Capturing information………………………………………………………….7
For capturing information of books…………………………………………….7
For capturing information of users……………………………………………..7
Hardware requirement………………………………………………………….9
Software requirement………………………………………………………….10
Model of the network………………………………………………………….12
Backup policy…………………………………………………………………13
Other fault-tolerant features…………………………………………………...13
Documentation………………………………………………………………...13
Functional diagram……………………………………………………………15
Database schema………………………………………………………………16
E-R diagram…………………………………………………………………...16
Data definition language………………………………………………………18
Description of fields…………………………………………………………...20
Input dialog and report screen…………………………………………………23
Other function of the web-based library system………………………………32
Security………………………………………………………………………..33
Testing the network……………………………………………………………33
Conclusion………………………………………………………………………….34
Reference…………………………………………………………………………...34
Appendix……………………………………………………………………………35
P.2
Problem definition In this project, we need to construct a web-based library system to make the use of
the school library be more conveniently to the users.
It is a library system which can use the school library through a website. Through
this web-based library system, the library users can check their borrowing record,
search the book they want to borrow, make a book reservation, renewal of the library
material they borrowed. The school library can also through this web-based library
system to remind the users to return the library materials and tell them to pay the
penalty for late returning the materials they borrow.
Background:
Xxxxxxx College is going to develop a web-based library system. The school
principal thinks that the use volume of the school library is too small, she thinks that
it is due to the inconvenience of the current library system. Therefore, she decides to
develop a web-based library system to encourage students to use the school library.
Assumption:
(a) Only books and discs are in the school library.
(b) There is no workstation in the school library for the students and teachers to use.
(c) Each book has only one copy in the school library.
(d) It can borrow the book for 14 days, including Saturday and Sunday.
(e) Discs cannot be borrowed out. It can just use it in the library.
(f) No need to borrow disc in the library, when user want to use the disc, just need
to ask the librarian to get the disc
(g) There is no server for the school library.
(h) All the information, including information of books and students, are needed to
capture.
(i) Student needs a library card to borrow books.
(j) Other people outside the school cannot use the school library.
(k) Late for returning the book, $0.5 per day is charged.
P.3
Feasibility study Present environment The school library system is not web-based now. It just contains a internal library
system. The functions in this system is limited
Book searching
The library users need to search the book from the shelf one by one to find the book
they want to read.
Book reservation
There is no book reservation in the library. If library users want to borrow the book,
they should wait for other user to return the book at the same time no other users
want to borrow this book.
Renewal of library materials
Library users should bring the library materials to the counter in the library to
proceed the renewal process.
Borrowing book
Library users should bring the book from the book shelf and go to the counter to
proceed the borrowing process.
Returning book
Library users should bring the book to the counter to proceed the returning process.
Book classification
The books in the school library are classified by Dewey Decimal Classification.
The information of the book is stored in a database and the database is stored in the
file server in the server room of the school.
Late for returning book
If students is late for returning book, library will give a handwrite reply slip to that
student through his/her class teacher to remind he/she to return the book and pay the
penalty.
P.4
Problems on present environment
There are many problem present in this library system, they are:
(1) Hard to search the book
In recent library system, there is no program or method that can help users to
search the book they want. Users need to search the book they want to borrow
shelf by shelf, it is very inconvenient and time consuming.
(2) No advance booking
Users cannot reserve the book they want to borrow in this recent system. If the
book is borrowed by another user, other user need to wait until that user to return
the book, and then go to the library to borrow this book
(3) Do not know when the book is available
Users do not know the book they want to borrow is available or not in this
library system. Users need to go to the library to search the book from the book
shelf to find out the book is available or not. It is inconvenient to users and
causes the low utility rate of the library.
(4) Easily to lost the reply slip
In the recent library system, if student is late for returning the book, the library
will give a hand-wrote reply slip to that student through his/her class teacher to
remind he/she to return the book and pay the penalties for being late returning. It
is easily for student get lose of the reply slip.
(5) Inconvenient
No matter doing what process, users need to do it through the counter in the
library. It is very inconvenient for users because the opening hour of the library
is limited, it fixed the time for user to use the library.
(6) Do not know the book is good or not
There is no way for user to know the book is good or not. The users need to find
out by themselves through reading the book.
It causes library users inconvenient to use the library. Due to these problems, we
need to construct a web-based library system to improve it.
P.5
Web-based library system
In the web-based library system, it will provide several functions that the present
library system does not provide, they are:
(1) Book searching
(2) Book reservation
(3) Renewal of library material through the website
(4) Email notification
(5) Borrow record
(6) View the comment of books
(7) Write a comment for the book
Advantages of web-based library system
(1) Searching the book easily
By entering the information, users can search the book in the library website,
they can know whether the book is existed in the library or not, they can also
know the book can be borrow or already borrowed by other users.
(2) Can make a reserve of the book
Users can make a reserve of the book they want to borrow.
(3) No need to go to the library to renew the book they borrow
Users can renew their borrowed book in their home.
(4) Through the comment written by other users, can know the book is good or
not
Through the comment written by the other users, we can know more details of
the book. It can help the user to decide borrow the book or not
By these functions provided in the web-based library system, users can use the
library more conveniently. It can encourage students to use the school library more.
P.6
Design phase
Capturing information
To develop a web-based library system, all the data should be captured again,
including the information of the book and the information of the user. The capturing
method will be discussed in the following part.
For capturing information of books Because we assume that there is no server for the school library in present
environment and all the information are store in the file server of the school, we
need to enter all the information into a new database server of the school library.
Therefore we need to capture the information of the book by man power. School
librarians needs to help to collect the information of the book, including
(1) the call number(equal to the book id)
(2) the name of the book
(3) the author of the book
(4) the publisher of the book
(5) the cost of the book
(6) the language of the book wrote
(7) the category of the book
After finishing collection of the above information, the school IT staff will help to
enter these information into the new database.
For capturing information of users We need to capture the information of students and teachers to make a new library
card for them to use the library. They need to fill a application form.
The application form for collecting the information of students and teachers
P.7
After filling the application, the school library will make a new library card for them
to use the school library.
New library card
Front:
Basic information
of the user XXXXX College
Photo of the
user
School
Logo
Back:
School
Logo Barcode of
the user id
In the front side of the library card, it record some basic information of the user,
including their name their user id, their position and their photo. The photo in the
front side is used to identify the user by the school librarians when the user using the
school library. In the back side of the library card, it has a barcode of the user id, it
can be read by the barcode reader and link to the table ‘user’ and other related table
in the database. The user id in the front side is used when the barcode in the back
side cannot read by the barcode reader.
P.8
Hardware requirement To develop a web-based library system, several new hardware are need to buy, they
are:
Hardware Quantity
Web server 1
Database server 1
Workstation 4
Barcode reader 2
hub 1
Crossover cable 2
Straight-through cable 4
The web server is used to hold the web site of the school library. Because the
website should available anytime, therefore the web server should be reliable
enough
The database server is used to store all the tables which need to use in the library
system. The database server will contain two hard disk to perform RAID 1 for
mirroring the data.
Between the web server and database server, they are connect by a crossover cable.
Four workstations is needed in the new library system. Two of them are connected
with a barcode reader, they are used by the school librarian to do the work like
borrowing and returning of the book. The barcode reader is used to capture the book
id and user id on the book and library card. Another two workstations are set up in
the library and provide for students to use.
A hub is used to connect all the workstations in the library to a switch already
represent in the third floor, which is the location of the school library. Between
workstations and the hub, they are connected by four straight-through cables.
Between the hub and the switch, they are connected by a crossover cable.
P.9
Software requirement Software Quantity
Operating system 4
Network operating system 1
Database software 1
Operating system
The workstations in the library should install an operating system. There are two
operating systems for us to choose, they are Microsoft Windows and Linux:
Operating system
Microsoft Windows
Linux
Price Expensive Free
Interface Graphical user interface Text-based command line interface
License Yes. It cannot be modified if no permission
No. It can be modified anytime.
I will choose Microsoft Windows as an operating system install in workstation in the
school library. Although Linux is free, the interface of Linux is usually text-based
command line interface, it needs to type the commands to control the operating
system, it usually uses by the user who has better programming technique. Moreover,
students usually use Microsoft Windows in their home, they are familiar with
Microsoft Windows rather than Linux. So although Microsoft Windows is expensive,
I still choose Microsoft Windows as an operating system.
Network Operating System
For the network operating system install in the database server and the web server, I
will also choose the Microsoft Windows rather than Linux. It is because when we
choose Microsoft Windows, the school will not need to provide addition training for
the IT staffs to learn how to use the network version of Linux.
P.10
Database software
We need to install a database software in the database server. There are several
database software in the market for us to choose, we will compare two of them,
which are MySQL and Microsoft Access
Database software
MySQL
Microsoft Access
Cost Free Expansive
Cross platform Yes No
License Open sources software Not open software
MySQL
MySQL is a relational database management system (RDBMS) which has more than
11 million installations. The program runs as a server providing multi-user access to
a number of databases.
MySQL is owned and sponsored by a single for-profit firm, the Swedish company
MySQL AB, now a subsidiary of Sun Microsystems, which holds the copyright to
most of the codebase. The project's source code is available under terms of the GNU
General Public License, as well as under a variety of proprietary agreements.
Microsoft Access
Microsoft Office Access, previously known as Microsoft Access, is a relational
database management system from Microsoft that combines the relational Microsoft
Jet Database Engine with a graphical user interface and software development tools.
It is a member of the Microsoft Office suite of applications. However it is not
included with the Microsoft Office suite for Macintosh, leaving Mac users looking
for a database application to use Open Office instead.
Access stores data in its own format based on the Access Jet Database Engine. It can
also import or link directly to data stored in other Access databases, Excel,
SharePoint lists, text, XML, Outlook, HTML, dBase, Paradox, Lotus 1-2-3, or any
ODBC-compliant data container including Microsoft SQL Server, Oracle, MySQL
and PostgreSQL. Software developers and data architects can use it to develop
application software and non-programmer "power users" can use it to build simple
P.11
applications. It supports some object-oriented techniques but falls short of being a
fully object-oriented development tool
For the database software uses in the database server, I will choose MySQL rather
than Microsoft Access. It is because MySQL is free of charge and it has cross
platform capability, it can be use in Microsoft Windows and Linux. However,
Microsoft Access can only use in Microsoft Windows.
Model of the network
About the network design
It is a client-server network. The network model contains a database server, a web
server, a router, a firewall, a switch, a hub, and 4 workstations.
All the workstations in the library will connect to a hub in the library by a
straight-through 10base-T UTP cable because the length between workstations and
the hub is not long. Then the hub will connect to a switch on the same floor by a
crossover 10base-T UTP cable.
Switch on the third floor(the location of the school library) is connect to a switch on
the server room by an optical fiber. Optical fiber is used because it is the backbone
of the network in the school, it need to transfer all the traffics on the third floor to
the server room.
The switch in the server room will connect to the library’s web server and the web
server is connected to the database server. Therefore, workstations in the library can
P.12
access the library website without going out to the Internet.
The switch in the server room will connect to a firewall and then connect to a router.
It allows the outside to access the library website by using the Internet
Backup policy The information in the database server will backup at 11p.m. every night. Moreover,
the database is very important in the network, the database system will use RAID 1
which provides mirroring of the data. If one of the hard disk in the database server is
down, it can still use another hard disk to prevent the failure of the library system.
Other fault-tolerant features UPS (uninterruptible power supply) in the server room, it can prevent the suddenly
shut down of the server which is cause by the power failure.
The firewall connected with the router can prevent the attack on the web server from
the Internet
Documentation After a network is set up, it is necessary to record what has been done in order to
provide information for the future maintenance or upgrade. The information should
be documented include:
Document Description
Address List
Internal IP address of connecting devices, servers.
MAC address of certain computers.
Global IP address of the site
Cable Map
Location of each wall-jack For each wall-jack, the corresponding
ports in the hub/switch
Contact List Phone number of network
administrator, vendor etc.
Equipment List
Date of purchase Serial number
Vendor information
Network History
What problems have occurred, including date and time
The symptoms of problems
Solution of problems
Network Map Hardware location Cabling
Policies and procedures Policies for users
P.13
Procedures for performing backups
and restore.
Server Configuration
Server hardware configuration Type of data stored
Schedule and location of backups
Software configuration Software installed on each node and
its configuration date Exceptions to standard configurations
Software Licensing
The number of user licenses The license number for each software
on the network
User administration List of UserID Corresponding password of the user
P.14
Functional Diagram
Searching Reservation Renew View borrow
record
notification
Login the
library
website
Search for
required
data from
database
Output
borrow
record
through the
website
Input
informati
on
Search
the
matched
data from
database
Output
suitable
record
through
the
website
Login the
library
website
Search the
book
Update
data in
database
View the
borrow
record
Click the
renew
button
Update
data in
database
Check the
borrow
record in the
database
Check user
is late for
return or not
Send a
email to
remind user
Click the
reserve
button
Login the
library
website
Login the
library
website
Web-based
library system
P.15
Database schema User (user_id, f_name, l_name, sex, position, class, class_no, email, pw)
Reservation (reserve_id, user_id, book_id, expire_date)
Borrow_record (borrow_id, user_id, book_id, borrow_date, return_date, return,
renew)
Book (book_id, bookname, author, publisher, cost, state, language_id, category_id)
Language (language_id, name)
Category (category_id, name)
comment (comment_id, content, user_id, book_id)
Disc(disc_id, name, cost, type)
E-R diagram There are 8 entities in total, which develop 8 entity relationships. They are listed as
follow:
(1) Each user may have one or many reservation.
Each reservation must belong to only one user.
(2) Each user may have one or many borrow record.
Each borrow record must belong to only one user.
(3) Each user may have one or many comment.
Each comment must be written by only one user.
(4) Each reservation must belong to only one book.
Each book may have one or many reservation.
(5) Each borrow record must belong to only one book.
Each book may have one or many borrow record.
(6) Each comment must belong to only one book.
Each book may have one or many comment.
(7) Each book must belong to only one language.
Each language must contain one or many book.
(8) Each book must belong to only one category.
Each category must contain one or many book.
P.16
ER diagram:
P.17
Data definition language: CREATE DATABASE xxx_library;
USE xxx_library;
CREATE TABLE user
(
user_id integer(8) not null primary key,
f_name char(20) not null,
l_name char(10) not null,
sex char(1) not null,
class char(2),
class_no integer(2),
email char(50) not null,
pw char(20) not null
);
CREATE TABLE reservation
(
reserve_id integer(7) not null primary key
auto_increment,
user_id, integer(8) not null,
book_id integer(10) not null,
expire_date date not null
);
CREATE TABLE borrow_record
(
borrow_id integer(7) nor null primary key
auto_increment,
user_id integer(8) not null,
book_id integer(10) not null,
borrow_date date not null,
return_date date not null,
return char(1),
renew char(1)
);
P.18
CREATE TABLE book
(
book_id integer(10) not null primary key,
bookname char(50) not null,
author char(30) not null,
publisher char(30) not null,
cost decimal(5,1) not null,
state char(11),
language_id integer(3) not null,
category_id integer(3) not null
);
CREATE TABLE language
(
language_id integer(3) not null primary key,
name char(20) not null
);
CREATE TABLE category
(
category_id integer(3) not null primary key,
name char(20) not null
);
CREATE TABLE comment
(
comment_id integer(7) not null primary key
auto_increment,
content text not null,
user_id integer(8) not null,
book_id integer(10) not null,
);
CREATE TABLE disc
(
disc_id integer(5) not null primary key,
name char(30) not null,
cost decimal(5,1) not null,
type char(5) not null
);
P.19
Description of fields User
Field Example Description
user_id 10143058 Primary key. Uniquely identify each
user. First character may be ‘1’ or
‘2’, ‘1’ stands for student and ‘2’
stands for teacher.
f_name ‘Tai Man’ First name of the user.
l_name ‘Chan’ Last name of the user.
sex ‘m’ Sex of the user, ‘m’ stands for male
and ‘f’ stands for female.
class ‘2c’ This field can be empty if the user is
teacher. If the user is student, this
field indicates which class does the
student study in.
class_no 01 This field can be empty if the user is
teacher. This field shows the class
number of the student
email ‘[email protected]’ Email address of the user. Use for
contact.
pw ‘abc123’ Password for the student to log in the
library website.
Reservation
Field Example Description
reserve_id 0000457 Primary key. Uniquely
identify each record of the
reserve.
user_id 10143058 Foreign key. Use to
connect the table ‘user’.
book_id 1000564752 Foreign key. Use to
connect the table ‘book’.
expire_date ’11-5-2008’ Deadline of the reserve for
the user.
P.20
Borrow_record
Field Example Description
borrow_id 0001245 Primary key. Uniquely
identify each borrow
record.
user_id 10143058 Foreign key. Use to
connect the table ‘user’.
book_id 1000564752 Foreign key. Use to
connect the table ‘book’.
borrow_date ‘3-4-2008’ Borrowing date of the
book.
return_date ’21-3-2008’ The date needs to return
the book.
Return ‘Y’ This field can be ‘Y’ or
null. ‘Y’ represents the
book has been returned.
Null represents have not
returned.
Renew ‘Y’ This field ban be ‘Y’ or
null. ‘Y’ represent the
book has renewed. Null
represent the book have
not renewed.
Category*
Field Example Description
category_id 100 Primary key. Unique id
for each category.
Name ‘Philosophy and
psychology’
Name of the category
*detail discuss in appendix part
Language
Field Example Description
language_id 001 Primary key. Unique id
for each language.
name ‘English’ Name of the language.
P.21
Comment
Field Example Description
comment_id 0000264 Primary key. Uniquely identify
each comment record.
content ‘this book is interesting’ Comment on the book.
user_id 10143058 Foreign key. Use to connect the
table ‘user’.
book_id 1000564752 Foreign key. Use to connect the
table ‘book’.
Book
Field Example Description
book_id 1000564752 Primary key. Uniquely identify each
book. This book id also same as the
call number of the book.
Bookname ‘Three Little Pig’ The name of the book
author ‘Peter Lee’ Name of the author.
publisher ‘ABC publishing Co.’ The name of the publisher.
cost 120.5 The price of the book.
state ‘Available’ This field can be ‘available’ and
‘unavailble’. ‘available’ means that
the book can borrow and reserve.
‘unavailable’ means that the book is
borrowed or reserved by other
people.
language_id 100 Foreign key. Use to connect the
table ‘language’
category_id 001 Foreign key. Use to connect the
table ‘category’
Disc
Field Example Description
disc_id 01234 Primary key. Uniquely
identify each disc.
name ‘love actually’ The name of the disc.
cost 150.2 The price of the disc.
type ‘CD’ Type of the disc. It can be
‘movie’ or ‘CD’.
P.22
Input dialog and report screen The school library website is written by html. Workstations do not need to install
any special software to visit the school library website.
login page of the website
XXXXXXX College
When users type the address into the browser, it will first show the login page. User
need to type their user id and their password to login. The user id is written on the
library card and the password is decided by the user when they write the form to get
the library card.
After type all the information and click the login button, the system will compare the
user data in the database.
For example, if the user id is 10224687 and his password is abc1234
SQL statement: select pw from user where user_id=10224687;
If the input data does not match the data saved in the database, the system will warn
the user and ask him to insert the information again.
P.23
The page when input data does not match with data saved in database
XXXXXXX College
If the input data is matched with the data saved at the database, it will go to the main
page of the web site.
main page of the school library website
School
Logo
XXXXXXX College
In the main page of the website, it will show some new information of the school
library. User can also do several things in the website, like viewing their borrow
record, renew the book they borrowed, search the book, reserve the book, write a
comment for the book and view the comment of the book.
P.24
Search page of the website
School
Logo
XXXXXXX College
In the search page, users can choose to search books or discs store in the school
library.
Page of searching the book
School
Logo
XXXXXXX College
In this page, users can search the book they want to borrow by providing some
information of the book, like the book name, author, publisher, language and the
category of the book.
P.25
For example, the user want to search a book which the book name contain the word
‘are’:
SQL statement: select bookname as name, author, publisher,
c.name as category, l.name as language from book as b,
language as l, category as c, b.state, where
b.language_id=l.language_id and
b.category_id=c.category_id and bookname like ‘%are%’;
The system will search the data in the database and search for the matched data, the
result will be provided after finishing searching.
The page of the searching result of the book
School
Logo
XXXXXXX College
If the user wants to reserve a book, he can click the button ‘reserve’ to reserve this
book. The system will be add a new record into the table ‘reservation’.
Page of successful reserve the book
School
Logo
XXXXXXX College
P.26
Page of searching the disc
School
Logo
XXXXXXX College
It the user clicks ‘disc’ in the search page, it will go to a page to search the disc store
in the library. After inserting the information of the disc, the system will search in
the database to find the match data.
For example, the user wants find a disc will contain the word ‘love’:
SQL statement: select name from disc where name like ‘%love%’;
After searching from the database, result will be display in a new page
Page of the result of searching the disc
School
Logo
XXXXXXX College
Because the disc can only use in the school library, therefore student cannot make a
P.27
reserve for the disc. The disc is therefore ‘first come, first serve’.
Page of viewing the record of the user
School
Logo
XXXXXXX College
When the user click the view record on the left hand side, his borrowing record will
be display in a new page.
For example, the user Chan Tai Wan has login the website and his id is 10224687:
SQL statement: selec b.bookname as Name, borrow_date as ‘Borrow
date’, return_date as ‘Return date’ from borrow_record as
b, book as bk where bk.book_id=b.book_id and
user_id=10224687;
If the user want to renew the borrowed book, the user can click the renew button.
The system will then update the record in the table ‘borrow_record’.
For example, the user wants to renew the book ‘Hello’ and the book id is
2001456789:
SQL statement: update borrow_record set return_date=date()+14,
renew=’Y’ where book_id=2001456789 and user_id=10224687 and
borrow_date=’1-2-2008’;
After renewing the book, a new page will be displayed to remind the user the book
has been renewed.
P.28
Page after renewing the book
School
Logo
XXXXXXX College
If the user click comment on the left hand side, a new page will be display, he can
choose to view comment or write comment.
Page of comment
School
Logo
XXXXXXX College
P.29
If the user click ‘View comment’, a page will display all comments of all books:
SQL statement: select concat(f_name, ‘ ‘, l_name) as user,
c.book_id as ‘Book ID’, bookname as ‘Book Name’, content from
comment as c, user as u, book as b where c.user_id=u.user_id
and c.book_id=b.book_id;
After searching from the database, all the comment will be display on the right hand
side.
Page of result of ‘View comment’
School
Logo
XXXXXXX College
If the user click the ‘Write comment’ on the comment page, a page will be display
for user to enter the comment. The user need to write their name, the book name, the
book id(same as the call number) and the comment on the book.
P.30
Page of ‘Write comment’
School
Logo
XXXXXXX College
For example, the user Chan Tai Wan(user id is 10224687) want to write a comment
‘This book is interesting’ on the book ‘They are Friends’(book id is 5001234567):
SQL statement: insert into comment (content, user_id, book_id)
value (‘This book is interesting’, 10224687, 5001234567);
After the user click the submit button, the record will be inserted into the table
‘comment’. A new page will be display to the user and tell them it has already
submit the comment.
Page after submit successful of the comment
School
Logo
XXXXXXX College
P.31
When the user clicks ‘logout’ on the left hand side, it will logout the website of the
library. A page will be displayed and tell the user it successfully logouts.
Page of successful logout
XXXXXXX College
Other function of the web-based library system
The library system will check the borrow record at 12a.m. every day. If the user is
late for returning the book, the library system will send an email to the user email
account to remind him he is late for returning the book and need to pay penalties for
returning the book late.
The library system will find out the email address of the user which is late for
returning the book by following SQL statement:
Select email from user as u, borrow_record as b where
u.user_id=b.user_id and curdate()-return_date>0;
P.32
System security Here are some methods to make the system more secure.
(1) Users should not expose their user id and password to other people.
(2) If a IP address has try to login the library website for more than 5 times in a hour,
the system will block this IP address.
(3) Provide a document for users that describe the security of the network about
what they should do and what they should not do
(4) Review the security logs of the NOS regularly
(5) Install a powerful anti-virus software and firewall in the web server and database
server
(6) Update the anti-virus software regularly
(7) Use setting on the firewall to disallow internet control message protocol(ICMP)
traffic service into the network to prevent denied of service.
Testing the network
1. Web Design
We should check if there is any wrong linking of web pages and picture, and the
position of the data’s table and the picture should be in the right order.
If there exists wrong linkages, we need to replace the right link using web software
like dreamweaver or frontpage.
2. SQL Development
We need to find out if the SQL statement shows expected result. If error messages
are received, the SQL statement needs to be broken down into basic form.
3. Hardware & Software
The hardware should be connected properly and software should be installed
properly.
P.33
Conclusion
Here are some suggestions for further improvement
(1) E-Book for viewing book online
If E-Book is provide on the library website, users can read the book on the
website and no need to go to the library to borrow the book. E-Book can buy
from the publisher if the book has a digital format. However, not many
publishers provide a E-Book and the price of a E-Book is usually higher than a
hard copy one, therefore this function is not provide in this web-based library
system. This function can be provided in the future if E-Book is more popular.
(2) Self serving check out
With the self serving check out function, users can do the borrowing process by
themselves without going to the counter in the library. It makes the use of the
library more convenient. However, to provide this function, more hardware and
software are required. Due to the budget is limited, this function is not provide in
this web-based library system. If the school has more money, it can buy the
required hardware and software to provide this function.
Reference http://en.wikipedia.org/wiki/Mysql
http://en.wikipedia.org/wiki/Microsoft_access
http://www.bestwebsitedevelopment.com/webdesign-content/articles/MySQL-Versu
s-Microsoft-Access-37.html
http://www.skyportal.net/article_read.asp?title=MySQL+vs+MSSQL&item=26
http://hk.yahoo.com/
http://www.google.com
http://en.wikipedia.org/wiki/Dewey_Decimal_Classification
http://www.hkpl.gov.hk
Data Communications & Networking
Database for A/AS Level
Computer Concept
P.34
Appendix
Dewey Decimal Classification
The Dewey Decimal Classification (DDC, also called the Dewey Decimal System)
is a proprietary system of library classification developed by Melvil Dewey in 1876,
and has been greatly modified and expanded through 22 major revisions, the most
recent in 2004. This system organizes books on library shelves in a specific and
repeatable order that makes it easy to find any book and return to its proper place.
How it works The DDC attempts to organize all knowledge into ten main classes. The ten main
classes are each further subdivided into ten divisions, and each division into ten
sections, giving ten main classes, 100 divisions and 1000 sections. DDC's advantage
in using decimals for its categories allows it to be both purely numerical and
infinitely hierarchical. It also uses some aspects of a faceted classification scheme,
combining elements from different parts of the structure to construct a number
representing the subject content (often combining two subject elements with linking
numbers and geographical and temporal elements) and form of an item rather than
drawing upon a list containing each class and its meaning.
Except for general works and fiction, works are classified principally by subject,
with extensions for subject relationships, place, time or type of material, producing
classification numbers of at least three digits but otherwise of indeterminate length
with a decimal point before the fourth digit, where present (e.g. 330 for economics
+ .9 for geographic treatment + .04 for Europe = 330.94 European economy; 973 for
United States + .05 form division for periodicals = 973.05 periodicals concerning the
United States generally).
Books are placed on the shelf in increasing numerical order of the decimal number,
e.g. 050, 220, 330, 330.973, 331. When two books have the same classification
number the second line of the call number (usually the first letter or letters of the
author's last name, the title if there is no identifiable author) is placed in alphabetical
order.
It is a common misconception that all books in the DDC are non-fiction. The DDC
has a number for all books, including fiction: American fiction is classified in 813.
Most libraries create a separate fiction section to allow shelving in a more
generalized fashion than Dewey provides for, or to avoid the space that would be
P.35
P.36
taken up in the 800s.
Classes The system is made up of ten main classes or categories, each divided into ten
secondary classes or subcategories, each having ten subdivisions.
000 – Computer science, information, and general works
100 – Philosophy and psychology
200 – Religion
300 – Social sciences
400 – Languages
500 – Science and Mathematics
600 – Technology and applied science
700 – Arts and recreation
800 – Literature
900 – History and geography and biography
The classification of books in the school library is using Dewey Decimal
Classification.