Você está na página 1de 64

Taibah University Digital Library

[TUDL]
Final Project Report Submitted to
The Department of Computer Science
Faculty of Computer Science and Engineering
University of Taibah - Yanbu

In Partial Fulfillment of the Requirements for the Degree of


BSc. in Computer Science

By

Esra'a Mohammad Qassem Nahari (3161249)


Bashair Mohammad Obaidallah Al-subhi(3161015)
Tagreed Abdulrazaq Abdualrhman Al-subhi (3161165)
Shrooq Salem Joudallah Al-subhi (3161035)
Waad Saeed Rajaallah Almehyawi(3161061)

Supervisor
Dr. Osama Hosam

DECLARATION
Concerning plagiarism, I undertake that all material presented for
examination is my own work and has not been written for me, in
whole or in part by any other person.
I undertake that any quotation or paraphrase from the published or
unpublished work of another person has been duly acknowledged in
the work which I now present for examination.
I understand that I must have prior approval before incorporating
any coursework I have completed for any previous qualification
either at Taibah University or elsewhere, and that any such previous
coursework is duly acknowledged in the project now submitted.
In the instance of online submission, in addition to the above, I
declare that any printed copies submitted are identical in content to
the electronic version.

Esra'a Mohammad

signature

Bashair Mohammad

signature

Tagreed Abdulrazaq

signature

Shrooq Salem

signature

Waad Saeed

signature

Signed on ...........Date.................

DEDICATIONS

All praise to Allah, today i fold the days' tiredness and the errand
summing up between the cover of this humble work.
To the Spring that never stops giving, to my mother who weaves my
happiness with strings from her merciful heart.
To those who taught us letters of gold and words of jewel of the
utmost and sweetest sentences in the whole knowledge. Who
reworded to us their knowledge simply and from their thoughts
made a lighthouse guides us through the knowledge and success
path, to our honored teachers and professors

ACKNOWLEDGEMENTS
We would like to express our deep gratitude to the project
supervisor Dr. Osama Hosam, for his guidance, enthusiastic
encouragement and useful critiques of this research work. His
willingness to give his time so generously has been very much
appreciated.

Table Of Contents

Section

Page Number

1-Abstract.
..8
CHAPTER ONE.
...9
1-INTRODUCTION
...
9
1.2Project
Domain..
9
1.3
Motivation
...9
1.4 Problem
definition..
9
1.5 Objective..
....9
1.6 Methodology used.
..10
1.6.1 Requirements....
.10
1.6.2 Design :by using UML.
....11

1.6.3 Implementation.
....11
1.6.4 Verification..
....11

1.6.5 Maintenance..
..11
2.2Project
organization..
12

CHAPTR
TWO
12
PROJECT INITIATION &
PLANNING..12
21.
1INTRODUCTION
...12
2.2.1 First stage: preparation and
processing..12
2.2.2Second stage: implementation of the
project....12

2.2.3Third stage :operating the service


.13
2.2Scope
13
2.3Constrains.
14
2.4.1Operational feasibility.
..14

2.4Feasibility
...14

2.4.2Technical
feasibility.
..14
2.4.4Economic feasibility..
15
2.6 Project's
risk
16

CHAPTER THREE

..17
STUDY OF PREVIOUS LIBRARY
SITES..17
3.1 ELECTRONIC
LIBRARY..
..17
3.2
SDL
18
3.3 RIADH ALELM
LIBRARY.
.19
Introduction ..
20
3.4 JARIR READER.
.20

CHAPTER FOUR

..23
ANALYSIS AND
DESIGN..
.23

4.1 TECHNIQUES USED TO COLLECT


REQUIREMENTS...23
4.2 SYSTEM
REQUIREMENTS
..23
4.2.1Functional
Requirements.
.24
Chapter 5

34
TECHINCAL DESIGN AND
IMPLEMENTATION.34
5.1 Getting
Started
34
5.2the site's
purpose
34
5.3 system
components
34
5.3.site language &
tools
36
5.3.1Data base ..
36
5.4 Login user ..
37
5.4 .1 Login page (php page)..
.37

5.4 .2Login SQL (reg_member table)


.38

5.5 home page


.
40
5.6
Registration
..41
5.6.1Registration page(sign up).
..42
5.7 ADMIN

.43
5.7.1 ADD
USER.
.44
5.7 .2 REMOVE MEMBER
..45
5.7.3 Admin book..
..48
5.7.4 Remove
Book
51
5.8 Book Page .
54
CONCLUSION..
..55
References
..65

List of Figures
Figure

Page Number
Waterfall model showing in figure 1.1
10
Figure1.2 UML Dataflow Diagram .
11

Figure 3.1 The main interface of the Electronic Library


17
Figure 3.2 The registration procedure in SDL for a student in Taibah
University.....18
Figure 3.3 The main page of RiadhAlelm Library
site....19
Figure 3.4 The main page of Jarir Reader Site.
...21
Figure 3.5 The main page of Noon Books Site...
.22
Figure 4.1 The User Registration in the proposed TUDL (Taibah
University Digital Library)
....24
Figure 4.2 Decision tree showing the different stages of user
registration..25
Figure 4.3 The addition of new book in the proposed TUDL (Taibah
University Digital Library)
...25
Figure 4.5 Sequence diagram showing the sequence of user
download book ...26

10

book download is shown in Figure


4.426
Figure 4.6 Sequence diagram showing the sequence of admin
deletes book..27

Figure 4.7 Sequence diagram showing the sequence of admin delete


book27
Figure 4.9 The detailed transactions of the search
process..29

Figure 4.10 diagram describe the user wants to view and add
favorite list at the
library..
.30
Figure 4.11.An example of contact form between user and library
Admin. The...31
Figure 4.12 The book categorizing in the proposed TUDL showing the
classification...
..31
Figure 4.13.The steps of browsing book in TUDL..
32
Non-Functional 4.2.2
Requirements32
Figure 4.15 ER Diagram of
TUDL..33
FIGURE 5.1 ER Diagram of TUDL .
36
Figure 5.3 log in page
38
Figure 5.4 reg_member table 39
Figure 5.5 log in code php39
Figure 5.6 successful login
page.39
Figure 5.6 homepageb40
Figure 5.8 index.php code ..
41
Figure 5.9 db
connect41
Figure 5.10 register ink..41
Figure 5.11 sign up
42

11

Figure 5.12 data base.


42
Figure 5.13 registration php code.
.43

Figure 5.14 LOGIN ADMIN LINK..


..43
Figure 5.14 WELCOME ADMINPAGE..
.44
Figure 5.15 ADD MEMBER..
.44
Figure 5.16 ADD MEMBER SQL.45
Figure 5.16 ADD MEMBER CODE PHP
45
Figure 5.17 REMOVE MEMBER LINK ..46
Figure 5.18 ADMIN SQL.47
Figure 5.19 ADMIN CONTROL
PANEL.47
Figure 5.19 ADMIN CONTROL PANEL47
Figure 5.20 ADMIN TAB SITCH..47
Figure 5.20 ADMIN add book49
Figure 5.21 ADMIN add book sql
.49

'
'

'

Figure 5.22 ADMIN delet


'
book50
Figure 5.24 ADMIN book control panel .51
Figure 5.25 ADMIN book control
'
panel.52
Figure 5.27 ADMIN book code php.
..53

12
ABSTRACT

'

'

In this project we discuss the establishment of a website for Taibah


University. We called it Taibah University Digital Library (TUDL).
TUDL is aimed for Instructors, Teaching Members, Students and
Employees. This site allows students to download Taibah University
related books, course slides, specific abbreviation of courses and
related materials. The motivation was that, in Taibah University we
dont have e-library serves for Taibah University specific courses and
its related materials.
The project site will be implemented in the following stages, the first
stage is Analysis and planning, it includes motivation and project
domain in addition to an extensive study of related digital libraries.
The second stage is initiation &project organization; it includes
assumptions and risks analysis and planning of the design
incentives which is included in the design phase of the project. The
third stage is analysis and design; it includes the requirements
gathering especially functional requirements. TUDL proposal has
great impact and positive feedback from both students and teaching
members.

13

CHAPTER ONE
INTRODUCTION
In view of the development of the Information technologies and the
expansion of electronic information and cognitive development, we
need to an electronic library in Taibah university [TUDL] dedicated to
the its related course materials, which makes it easy for students
and beneficiaries to access courses online resources instead of
going to traditional libraries.
In this study we are trying to create an electronic library linking all
electronic information related to students, courses and the related
materials.
1.2 PROJECT DOMAIN
This project aims to create a website as an Electronic library
dedicated for Taibah University related courses and materials. The
site can be used by Taibah university students to download books to
their PCs, also it can be used by the doctors to upload the electronic
materials. The books are downloaded from the site as PDF files.
MOTIVATION 1.3
One of the motivational styles to researcher and students is easy
access for electronic resources. Currently no electronic library in
Taibah University dedicated for course materials. The library support
free resources and materials that student need. There is a section
for stories and novels to help students to spend their free time in
something fun and useful.

14

PROBLEM DEFINITION 1.4

There are many problems that students in Taibah university face,


one of them is no library in the university provides students with
resources they need as books and programs for that we establish
this digital library.
OBJECTIVE 1.5

In this project we introduce a site collecting study materials in


Taibah University. The aim of this project is help students to obtain
materials and books which they need as soon as possible with easy
way, these books will help students in their study. This library will
help to make several information and resources available for
students.

METHODOLOGY USED 1.6


We have adopted Waterfall model shown in Figure 1.1 for our project
phases, namely Requirements, Design, Implementation, Verification
and Maintenance. An explanation of each phase will be introduced.

Figure1.1 waterfall model steps

1.6.1 Requirements
The following requirements are collected in the initiation of the
project.
Hardware: devices and tools for convert sources from
traditional form to electronic form such as desktop computer
with supporting accessories, scanner and storage media.
Software: e-books such as PDF files, programs, scanning
software, Photoshop, Microsoft office programs.
Internet Connection such as modem with high speed
connection to upload files.
Database: to store data and retrieve it.

15

Human: who understand the requirement of the users and


library's content.
Budget : buy books , employees salary , training cost, etc.

1.6.2 Design
The design is done by using Unified Modeling Language (UML). Use
Cases, Decision Trees, Entity Relationship models and Data Flow
Diagram are used in the design phase of the project. As an example
a comprehensive Data Flow Diagram for the Taibah University
Library Website is shown in Figure 1.2.

Figure1.2 UML Dataflow Diagram


1.6.3 Implementation
Implementation of the project is done By using ASP.NET with the
supplementary .NET frame work. The database design is used by
using SQL server. Crystal reports are used as tool to make site
reports. In implementation PC for each member is needed with
windows and Microsoft Office. Internet connection will be needed to
keep updated with the latest implementation technologies.

16

1.6.4 Verification
We make the test by view, download and add books. We establish a
trial version of the site so users can login and download books by
testing download functionality and user registration and other

related functions. Login and search functions will be tested by


volunteer students.
1.6.5 Maintenance
Make for every month period in regard to the needs of the students
in Taibah University.

17

CHAPTR TWO
PROJECT INITIATION & PLANNING
We will discuss in this chapter Project Organization which include
several stages (First stage: preparation and processing, Second stage:
implementation and delivery of the project,

PROJECT ORGANIZATION 2.1


First Stage: Preparation and Processing 2.1.1
The prepare phase is the most important .This stage includes all
project milestones, we study all feedback from users (Taibah
university students) in various levels, we study also the sources of
information, how to retrieve information, how to determine the type
of hardware, software and accessories, size quantities. In addition to
the management and supervision of electronic library, such as,
training of human cadre. At the end of this phase we provide a plan
for the implementation phase.
2.1.2 Second Stage: Implementation Of the Project
This stage includes the requirements and needs such as
Devices: this include a number of modern computer systems,
scanners, communications to link local network, also include server
with large capacity to accommodate large amount of information.
Programming
systems
:
include
electronic
information
management and retrieval link protocols and programs, language
programs such as C# and SQL servers are adopted for
implementation. Programs should be modern depending on the
latest standards and techniques required to manage the library of
Taibah University.
Human : shall be technically qualified and capable of dealing with
hardware, software support services, maintenance and training.
Good training of human should begin before the building electronic
library. They should be working in Taibah University to communicate
with students in the colleges and record their requirements.
Electronic sources: include books, files electronic, and optical
disks. Electronic library needs a special system for electronic
publishing, content management, and preservation of the rights of
the property.

18

To ensure the continuity of the work of the electronic library we


should caring by the
subject of technical support and maintenance of systems and
software in the library
of the university .
2.1.3 Third Stage: Operating the Service
During this stage, test all components of electronic library (TUDL) in
Taibah University, including the service provided and level, speed,
accuracy. While testing, we check hardware, software and the
required modifications. If the testing was successfully achieved the
students and faculty member aspirations, we operate the service
.This includes the need for training employees in TUDL.
We must make an assessment of TUDL in terms of the extent of
achieving its objectives, content, and services and the level of
quality and the size of the benefit, so that we can subsequently
develop it to satisfy students and faculty members In Taibah
University.
2.2 SCOPE
In the last few years, the digital libraries have spread in all over the
world . Many organizations, companies and universities established
their own digital libraries or electronic libraries to offer for their
customers or students easy access to the resources they need .
We should know about digital library that:
1- Working in digital library needs collecting between admin skills
and knowledge of using computer and network systems and
information.
2- Not independent library and it is similar to traditional library in
resources and services but in e-library we process its functions
and operation automatically.
3- It does not need to big space to store resources and software.
4- It has a lot of materials that converted from printed or traditional
form to electronic media by using scanner. So we can store and
retrieval them later.
Students in Taibah University experimented the difficulty of reaching
the information and getting suitable resources. So, we decide to
help students in our university and faculty member.

19

This library will initially contains e-books and some programs that
any student in Taibah University needs
Before we establish our project we should focus on:
1- Database: collecting stored data with software for retrieval and
edit it.
2- Downloading: the way that enable user to get resources.
3- Electronic resources: documents in electronic form.
4- E-library services: either supplied from local servers or
accessible via networks.
2.3 CONSTRAINTS
While the number of people who use e-library increasing, the
number of constrains that library put on the books also increase.
Some distributer refuses to sell books for e-library and other selling
it for very expensive.
Printing and publishing rights this is another constrain we should put
in mind, where some publishing company does not allow use its
books without Permission.
2.4 FEASIBILITY
2.4.1 Operational Feasibility
The project will meet the admission of students and faculty
members because there is no traditional library and have easy
access to books from the library and read books, there is a great
benefit for the students and faculty of the establishment of the
electronic library to download the books from the site this is easy for
them because it is in a good university library is not available, it
comfortable to them instead of resorting to traditional libraries and
loss of time. In addition, potential problems in the system unable to
connect to the network and meet my faculty member and the
student tease fuse of the site and download books, also easy to get
used it instead of resorting to traditional offices easy access to
books and information through the creation of electronic library
achieves student satisfaction and faculty member.

20

2.4.2 Technical feasibility


The technique used to build electronic library process and supported

by faculty and student members, it is a modern technology for easy


access to information, the members of the team has sufficient
experience in c ++ and this experience will help in the construction
of the project and it is sufficient to create a virtual library.
And implementation phases suitable because it has emplaced
according to planned systematically studied.
2.4.3 Timing
The time table of achieving the project is shown in the following
table.
Tasks

day

Was created group consisting of five students


Has been meeting with the supervisor to understand the
full descriptionof the project
Has been meeting with the group moderator categorize
and identify thefirst part of the project
The division of tasks categorize members of the group
.A review of the project by the students

Monday
Sunday

9/11/
29/12/

Sunday

29/12/

Sunday
Thursday

29/12/
8/1/

Sunday

11/1/

Sunday

11/1/

Sunday

14/1/

Sunday
Sunday

14/1/
25/2/

Sunday
Sunday

25/2/
25/2/

Sunday

29/2/

Sunday
Sunday
-

29/2/
10/3/

Was delivered the first part ofthe project has been


discussed with the supervisor
The report on the work of anelectronic library for each
student
The report was discussed with thesupervisor and identify
categorize the second part of the project
The division of tasks categorizemembers of the group
Will be delivered to the secondpart, and discuss it with the
supervisor
.Will be recognized categorize thethird part of the project
Will be the division of taskscategorize members of the
.group and review
Will be delivered the third partof the project to a
.supervisor
Delivery of the project fully to. Supervisor
Delivery of the final version of the project
.Work began categorize thepractical part of the project
.Project implementationstarted
.Download digital library online
.Electronic library test
Electronic library for students and members of the
.university faculty availability

21

.Table 2.1 Time table of the phases of our project


2.4.4 Economic feasibility

Domain cost : 200 SR in year


Book cost: download or buy.
Hardware cost: computer device 5000 SR, Scanners 500
SR, and Storage 2000 SR.
Software cost: Scanning 1 Kb, Image manipulation 86.15
MB, Design, ORC Optical Character Recognition5.79MB.
Presentation and preservation costs: Include reserve a
place on the server costs and data transfer and continuous
updating. The project Inexpensive and it can be
implemented

2.5 ASSUMPTIONS
Suppose that the digital library for Taibah University's students of
the Department of computer Science and Engineering at various
levels and all branches.
DO you have unlimited access?
The user of e-library does not need to move in the library .accessing
to the digital library is available for all over the world whenever
internet connection is available.
Does the library will be open all the time?
Basic feature of the digital library is accessible to 24 hours.
Does the library have a multi-access?
Can often be more than one party to use the same resources at the
same time. It may not be the case for materials subject to copyright:
it may be the library's license to "lend" and only one copy at a time;
This is achieved with a digital rights management system, where it
can become a source cannot be accessed after the expiration of the
lending period or after that lender chooses to make it inaccessible
(which is equivalent to re-resources).
How to extract information?
Library user can use any term (a word, phrase, title, name, subject)
to look at the entire group. Can be as digital libraries provide an
easy-to-use interfaces, allowing access to resources by clicking.
How to improve the electronic library?
Can improve certain properties in the materials, the quality of the
images in the first place. Digital can also enhance clarity and
remove defects such as spots and change colors.
Do you need to provide a copy of the e-library?
To be back up at the work of maintenance and operation to identify
the mistakes.

22

2.6 PROJECT'S RISKS


The hackers enter to web site and the violation Such as: -1
copyright The hackers enter the e-library and modification
.the name book , information in the book and Author Name
:Solution
Download the program to protect the device from viruses
.like: Avira Antivirus personal Edition
.The users may not know how to use the e- library -2
:Solution
Provide a catalog of how to use the e-library in the home
.page
Incompatibility between the operating systems and the -3
e-library programs
:Solution
Establish a system is compatible with all the versions

23

CHAPTER THREE
STUDY OF PREVIOUS LIBRARY SITES
We introduce in this chapter, five electronic libraries as a similar
case studies. The libraries are, Electronic Library, SDL, Riyadh Alelm
Library, Jarir Reader, and Noon Books.
3.1 ELECTRONIC LIBRARY
Electronic Library (http://download-pdf-ebooks.net ) is a collection of
articles stored in digital format and can be accessed via several
mode most important means of access to the contents of the digital
library is a computer network in particular online, and characterized
by digital libraries objectives (commercial, cultural and other
thematically focus of the (religious, literary, scientific, technical ...
etc.) In addition, characterized materials as easy production,
publishing and distribution to millions inexpensively.
Producing a book in digital format abbreviated printing paper,
transportation and distribution costs prohibitive, is sufficient to
produce a digital copy and one placed on a central server and sold
to buyers who connect to the server via the Internet and digital
libraries

24
Figure 3.1 The main interface of the Electronic Library
The quick and easy way to gain access to the books and archival
photographs.

Storage space is limited in the traditional libraries, and digital


libraries the ability to store a lot of information in a confined space,
digital information and material you need for a very small space to
store them, the cost of maintaining a digital library is much less
than traditional library, The researcher can use any library in the
term (a word, phrase, address, name and subject) to search the
entire group, can digital libraries provide an easy-to-use interfaces,
allowing access to resources by clicking.
3.2 SDL
It is Saudi Digital Library established by Ministry of Higher Education
in Saudi Arabia. It contains over 310,000 electronic resources in two
languages : Arabic and English and more than 300 international
publishers .
The library won the award for the Arab Federation for Libraries and
Information know for outstanding projects in the Arab world in
2010.
The objective of SDL is to
Help university education organization by providing them with
electronic resources.
Build an electronic environment for student and Faculty
members in universities.
Convert traditional information resources into digital ones.
Increase digital Arabic content by publishing books
researches.

25

Figure 3.2 The registration procedure in SDL for a student in


Taibah University
SDL is the biggest digital library in the Arabic world. It has two
databases in Arabic and English languages. you can register and
then select your university to enter its Deanship of Library Affairs .
This electronic library connects a lot of colleges and universities. You
can also register for electronic training. When you want to search
about any resource you can choose quick search or advanced
search. There is a support center you can just open a ticket and
choose the type of support you need and write your question, there
is also media center which shows you images and information.
Figure 3.2 shows how a student in Taibah University can register
through the Deanship of Library Affairs in the university.
3.3 RIADH ALELM LIBRARY
RiadhAlelmlibrary(http://www.riyadhalelm.com/) shown in Figure 3.3
contains forums. Forums goal sermons (Koran - lectures - visuals advocacy designs - Islamic programs ..) These sections aimed at
Muslim browser including interest and needs of reminders and
preaching service. It is a diverse and shown in a simplified manner
to suit different browsers and desires.
The goal of scientific departments (Books, letters, research and
annotations and scientific issues and texts) These sections aimed at
science students and researchers in the areas of legal service
Providing books approved for publication, whether comic or written
or programmed
To document the researcher, including his information, as well as the
provision of legitimate scientific research
And the keenness of the site to view these materials in a simplified
manner and precise division
To make it easier for the researcher and student of science to get
the information they want
And make it accessible to the hand without the need to register and
activate or a long wait

26

Figure 3.3 The main page of RiadhAlelm Library site


The site seeks to provide the best most convenient ways for our
visitors.
Registration at the library will be done by reading the terms and
enter your user name and password, e-mail and the state, date of
birth and mobile phone number , other information such as CV,
specialization and the profession and then press on Register link.
Home page there are a List of sections such as Arabic section,
Religion , history and the Arabic language, when press at any
section There are a list alphabetic characters when you choose any
character list of books will appear.
Download icon: book will be downloading as PDF format. When you
press at this icon the book will be loaded automatically.
You can tell your friend about the Library through inter the name,
the sender and the receiver Email's the press send , the link will be
send to your friend.
3.4 JARIR READER
Today Jarir reader (www.jarirreader.com) is recognized as the market
leader in office supplies, school supplies, I.T. products and books.
jarir reader Bookstore is well reputed and highly respected in the
kingdom among its customers and among the business community.
The company is led by a strong management team with effective
leadership skills and which respects individual initiative and
provides opportunities for personal growth to employees.

27

library jarir reader like Library Home fully be arranged in the form of
electronic library shelves but feature that enables you to easily
arrangement of books, according to the classification, the title, the
author or the date of the release or transfer the display from shelves
to the list, all this push of a button. The Library also feature
electronic search feature, where you can search for a specific book
as soon as title of the book in the search box at the top of the
Library's web page. In addition, you can delete books from the
library when exploit whatever you want.
The main objectives of jarir reader are:
To maintain leadership in quality of services to our customers.
To provide products of superior quality at the best prices to
our customers.
To respect individual initiative and to provide opportunities for
personal growth to our employees.
To build a strong management team with effective leadership
skills.
To be the market leader in Office & School Supplies, I.T.
Products
and
Books.
Experience real electronic reading
Jarir, Reader Service enables the user to buy and download and read
books, magazines and newspapers are available in electronic format
epub and pdf "stories" for the service. Service allows the user
browse books available and buying and payment.
Available in this library free books but need account in this library to
read the free books
Available for sale in to currencies riyal .
there are find in middle page finally books and in under each book
price and do payment through twitter ,facebook and email.

28

Figure 3.4 The main page of Jarir Reader Site.


3.5 NOON BOOKS
Nooon,( http://www.nooonbooks.com/)the first and largest
library offers electronic reading service and are considered the most
diversity and inclusion in subjects frontrunners.
Nooon provides all the latest bestselling and new release titles,
which are streamed direct to us by our leading publishers who they
are over 400 in the Middle East and seeking to move internationally
in the world wide. But that's not all. We also offer a huge selection of
professional and technical ebooks and wide range of academic and
scholarly titles in the fastest way.
We believe the opportunity for e-learning is step to advance for
students in universities; we processed establishing the largest
digital h library in the world to servefaculty members, researchers,
students, specialist working in the universities

29

What I want to type in the search box and then press enter Some Q
about Nooon Book
1 What are the book formats available on Nooon Library?

They are either pdf or e-Pub books.


2 How the books are classified?
They are either pdf or e-Pub books.
3 How the books are classified?
Based on Dewey Decimal System

Figure 3.5 The main page of Noon Books Site.

30

CHAPTER FOUR
ANALYSIS AND DESIGN
Techniques used to collect requirements will be discussed in this
chapter, Required Hardware and Infrastructure Devices, System
Requirements, Functional requirements, and Non Functional
Requirements. This is the core part of the proposed project; our
focus will be based on Functional requirements since it introducing
the implementation part.
4.1 TECHNIQUES USED TO COLLECT REQUIREMENTS

A questionnaire: by offering a group of questions to find out


the requirements of the students in the Library is distributed
among the students.
Interviews: through an interview students wandering about
jobs, which they need in the Library such as borrow books and
load books.
Brainstorm: have been a gathering of members of the Group
and to reflect the requirements of the site and functions on
site.
Similar projects: The work of the project has been individually
for each of the members of the Group resolution to search for
locations electronic library and draw some of the functions of
the implementation of the project.

4.2 SYSTEM REQUIREMENTS


In this project we introduce electronic information management and
retrieval protocols and programs, programs should be modern
depending on the latest standards and techniques required to
manage the library of Department of computer Science and
Computer Engineering and updating, Electronic sources: include
books, and files electronic, optical disks.

31

For Hardware requirements: For project implementation, 5 standard


PCs with connection to the internet are needed one PC for each
team member. PCs doesnt have to be high speed; PC with latest
technology is acceptable. In addition a domain on Godaddy.com is
needed to hold the proposed website. For standard teamwork in
daily basis, single shared scanner and printer with the accompany
A4 will be sufficient

For Software requirements, the website implementation needs an


original copy of Microsoft Visual Studio. Microsoft Visual Studio is
needed to be able to program the website through ASP.Net. In
addition SQL Server is also needed to be able to design the website
database. For reports and status of current users and books usages
and downloads, Crystal Reports which is accompanied with Microsoft
Visual Studio CD will be used. The website is intended for Windows
operating systems, Windows 7 and XP and even Linux is supported.
The website is multiplatform. In addition the website shall work
without problems on Google Chrome and Microsoft internet explorer.
There are two main software requirements needed to complete the
project, namely, Functional requirements and Non-Function
requirement.
4.2.1Functional Requirements:
(1)User Registration: To any student in Taibah University to be
able to use TUDL, he/she must register on the website. The
registration is straight forward, the user is asked to enter his
details such as his name, phone number, and collage, in
addition to his e-mail and the required username and
password. The user is asked to submit his details to be able to
create his username. An e-mail is sent to the user for verifying
his credentials. The different stages of user registration are
shown in the Use Case diagram in Figure 4.1

32
Figure 4.1 The User Registration in the proposed TUDL showing the
registration process which includes, verify credentials,
assign username and password, and enter user details

User registration is also shown with a simple decision tree


shown in Figure 4.2, when the user opens the website, when
the he/she clicks on any link or try to download a book, he/she
is checked if he is enrolled on the website as an existing user
or not, if he is previously register, his favorite page will be
shown otherwise the standard registration process is initiated.

Figure 4.2 Decision tree showing the different stages of user


registration
(2)Addition of new book: The admin of the library can add any
kind of books that belong to Taibah University. The book is
added by entering all details related to the book such as book
name, size, number of pages and the date of publication and
its author, The books is added after the administrator login
process, The admin can select list of PDF files to add to the
website. Finally the admin log out. Adding new book is
depicted in Figure 4.3 use case diagram
the admin must make sure that the book is not already exist
before start the adding process.

33

Figure 4.3 The addition of new book in the proposed TUDL showing
the add process which includes, book details , assign book id and
assign book id include , update record.
(3)Book Download: Allows students to download library books
available on computer PDF format to their computers through
the log and then choose the book and upload. Book Download
can be initiated in either when the user displaying or reading a
book or when the results of the book search is listed. A small
link with PDF refereeing the book link into the database will be
put beside each item in the results of book search. Registered
users only are allowed to download books. A simple DT shows
the user interaction with book download is shown in Figure 4.4

Figure 4.4Download book function showing only users


registered to TUDL are only allowed to download books
The following Sequence diagram Shown in Figure 4.5
describes the user state transition of typical registered user
wants to download a book. The user clicks a download link on
the website, if he is registered user the system will divert to
the database to search for the corresponding book by user ID
and then returns the book file. The file is then directed the
download folder of the users PC.

34

Figure 4.5 Sequence diagram showing the sequence of user


download book
(4)Delete Book or Delete Book Category: The admin login to
the library. He can delete any kind of books, the admin can
delete books by listing books or through saved search results,
he can select all of the books to delete them. This is done
through the login admin process then search for the book to
be deleted using certain information and then delete the book.
And to be sure of the success of the deletion process by
searching for the book and make sure it is not found. The
admin then logout. Delete book or book category is shown in
Figure 4.6

35

Figure 4.6 Sequence diagram showing the sequence of admin


deletes book
The following sequence diagram as shown in Figure 4.7
describes the transition state of the Registered admin wants
to delete a book, the admin get the book and then start
deleting it. The admin can delete a whole category of books,
in addition admin can delete specific user or prohibit user from
accessing the library.

Figure 4.7 Sequence diagram showing the sequence of admin


delete book.

(5)Search: The admin of the site can log and search for
information about user and also can search for specific book. If
there is no search results for a book, try to search again in
various ways, such as using book name, book author, book
ISBN, etc. Searching book and user is shown in Figure 4.8

36

Figure 4.8 The search of book in the proposed TUDL showing the
search process which includes, book details, and book details
include, update record. When search about book we must assign
book id.
The search results are categorized in one of the following
forms
a) the most relevant book,
b) ordered alphabetically,
c) ordered by publishing date
d) ordered alphabetically by publisher name
e) ordered by author name

37

Search results are displayed in list or rows, each row contains


two cells, and the first cell describes or shows detail of the
book, the second cell shows a photo of the cover or the first
page of the book. The detailed process of book search is
depicted in Figure 4.9. Search for book by either ID, name, or
publisher name, if the books is not available, a message
saying the book is not available will be displayed, otherwise
the user will be diverted to make sure that he is registered, if
so he can preview the book. After previewing the book, an
icon is shown to be able to add the book to the users favorite
list.

Figure 4.9 The detailed transactions of the search process


(6)
Favorite list: The possibility to choose and create a list
of favorite book choices for students who have an account in
the Library. The user enters his user name and password to be
able to login and access to its own favorite books list. The
detailed favorite list management is shown in Figure 4.10.
The flow chart in the figure describes the transition state of
the registered user. If the user wants to add or see the favorite
list about book, he first log in by using the necessary
information and then the user is checked for account
information by the system and if the information is correct
user can view and choose their favorite books and add new
books to his favorite list.

38

Figure 4.10 diagram describe the user wants to view and


add favorite list at the library.
(7)Contact form: Contact form, is one of the basic requirements
in the library site, it is important for the continual support of
the site. It is useful in book addition, the user can ask the
admin to add a book or add suggestion or report abuse in
regards to the library using. Basically the user should provide
the following data {email, subject, massage}, the user then
clicks submit button to be able to send a message to the site
Admins e-mail. A rough design of the contact form is Shown in
Figure 4.11

39

Figure 4.11.An example of contact form between user and


library Admin. The user enters e-mile , subject and message then
click submit button to send a message to the site admin.
(8)
Book Categories: Library books are classified as
distinguish from each other according to their subject matter,
according to a particular classification, the library books are
arranged on the website according to their categories. The
update of the book categories is shown in Figure 2.13.

Figure 4.12
The book categorizing in the proposed TUDL showing the
classification process which includes, add new field, assign field id,
.enter field detail and update field

40

The pervious diagram shows the process of classifying the


library into many categories or fields. The admin add new
field and assign the id of it, then store the details in system
.and update the new field

(9)Book Browsing: The categories of the library will be shown,


the student can search for the book, if he/she want to read a
book, he/she must be sure that it is available, and then he/she
can browse it, if not he/she is able to leave a massage using
the contact form and library will offer it later. The book
browsing process is shown in Figure 4.13.

Figure 4.13.The steps of browsing book in TUDL


The following diagram, Figure 4.14 shows how the process of
browsing book work , we see that as in figure the student
search for book and the system provide it to the student and
. then the student can browse it

41

Figure 4.14 The book browsing in the proposed TUDL showing the
browsing process which includes, search for book, check for book
availability and browsing book.
4.2.2 Non-Functional Requirements
The following is a list of the provided non-functional
requirements which will be included in TUDL. Namely,
Availability, Security, Usability, Achieve high visiting rates, and
Quality
1) Availability: The library will be available 24 x 7.
2) Security: Online protection for library's assets.
3) Usability: Easy to use by users with our user friendly
interface.
4) Visiting Rate: the website allows you to view and visit pages
and read books.
5) Quality: we aiming to produce high quality website.
4.3 ENTITY RELATIONSHIP DIAGRAM
In this section we propose the Entity Relationship diagram (ER). ER
is shown in Figure 4.14. The Admin has properties such as id, name,
email, and password. ER shows that admin can add new user. User
has properties such as email, name, and address. Admin must login
to the library to be able to add user or enable user search book,
download book and browsing library.
Admin enter categorizes, the categories has properties such as
category name, category id. Admin can update categories, add
category, and categorize book written by author. The author has
properties such as name, book ID.

42

Figure 4.15 ER Diagram of TUDL


Chapter 5
TECHINCAL DESIGN AND IMPLEMENTATION
5.1 Getting Started
One factor makes a page of any kind work. That is legibility. Web
pages not only need to be legible, but also need to download
quickly.
Web sites also need to be legible. Since a Web site is a structure for
pages, the legibility of a site is constituted as ease of navigation. It
is easy to navigate a book, it is a linear object that you can flip
through the pages of. Web sites are more difficult to navigate.
Therefore, you need to actively work on designing them in ways that
make it easier for users to get around in them.

43

5.2the site's purpose.


We created this site to help Tibah /university to finds book easy .
5.3 system components

FIGURE 5.1 ER Diagram of TUDL


5.3.1Data base
We use phpmyadmine program to create database
Name of data base "ers " server locallhost username of server is
"root" password ""empty

44

Figure 5.2 Data Base View

Our data base "ers " consists of 5 tables


Every table for one process
1)reg_member :this table for save new student consists of
"username""password""email" address" "phone"
2)book :this table for save new book with author name book name
3)user :this table :for admin data to login site and control
"username", "password "
5.3.site language & tools
We install 2 programs
1)xampp (for server )
2)dreamwaver ( for making dynamic php pages or for create static
pages html page).
The first page we make is Index.php
This page to login after login we go to home page

45

5.4 Login user

5.4 .1 Login page (php page)

Figure 5.3 log in page


5.4 .2Login SQL (reg_member table)
Inter username and password
connect data base ers with index page -member

46
Figure 5.4 reg_member table

Figure 5.5 log in code php


if we make successful log in we will open this page

Figure 5.6 successful login page

47

After that we access this link

Return to Starting Page


We will open home page

5.5 home page

Figure 5.6 homepage


Through this code we will check if username and password true

48

Figure 5.8 index.php code

this code is connect data base with pages

Figure 5.9 db connect

this dbcon.php is to connect database with site

5.6 Registration

49

Figure 5.10 register link

5.6.1Registration page(sign up)


Open signup page

Sign up

Figure 5.11 sign up


Please fill in all items all are require
All record will put in database

Figure 5.12 data base

50

This is code for register record all items in this page

Figure 5.13 registration php code

5.7 ADMIN
Admin site section

Figure 5.14 LOGIN ADMIN LINK

51

For admin login please put username and pass word


If admin login successful admine will open this page

5.7.1 ADD USER

Figure 5.14 WELCOME ADMINPAGE

Figure 5.15 ADD MEMBER


To adimin if you want to add new member please put all information her

52

All items will fill in new record in data base

this is connect code to connect database with page

Figure 5.16 ADD MEMBER SQL

Figure 5.16 ADD MEMBER CODE PHP

5.7 .2 REMOVE MEMBER

For remove member from data base and from site we access this link

53

Figure 5.17 REMOVE MEMBER LINK

54

This is admin control panel we must log in in log in admin with this data

Figure 5.18 ADMIN SQL


Figure 5.19 ADMIN CONTROL PANEL

Delet user from database and from reg_member table

To switch tabs from admin or user we press in tab

Figure 5.20 ADMIN CONTROL PANEL

55
'

Figure 5.20 ADMIN TAB


SITCH

This is code for switch between tabs

Admin control panel for add book or remove book

Admin book 5.7.3

56

'

Figure 5.21 ADMIN page

'

Figure 5.20 ADMIN add book

Add new book her and connect it with SQL and ers book table

57

'

Figure 5.21 ADMIN add book sql

Figure 5.22 ADMIN delet book

'

58

'

Figure 5.22 ADMIN log in

Figure 5.24 ADMIN book control panel

'

'

Figure 5.24 ADMIN book code

Remove Book 5.7.4


To remove admin name and password

59
'

Figure 5.25 ADMIN book control panel

This is search code for books *(search books in database )

Figure 5.25 ADMIN book control panel

'

when we put book name here we see it in record

'

60

Figure 5.26 ADMIN book search

'

Figure 5.27 ADMIN book code php

5.8 Book Page


To download book from book.php

This is for download books


\

61

CONCLUSION
This project discussed the implementation phases of TUDL
electronic library in terms of the concept and the upbringing and
development and the importance of basic electronic components to
electronic libraries. In an effort to reach results those will help
Taibah University students reach their courses and related materials.
This project is three basic stages, first stage is to show the proposed
plan to create an electronic library preparation, processing the
second stage is the implementation phase and the completion of
the project and the final stage is to launch the service.
In every stage of these stages we included information and details
on how to create and develop the electronic library of the Academy
Library.

62

REFERENCES
1. Ann Blandford, et. al. 2007. Distrupting digital library:
development with scenario informed design. Interacting with
Computers. V. 19(2) Jan.2007, pp. 70-82.

2. Rosson and Carroll, 2002 M. B. Rosson and J. M. Carroll,


Usability Engineering, Morgan Kaufman, San Francisco (2002).

3. JernejTrnkoczy, Ziga Turk, and VladoStankovski. A grid-based


architecture for personalized federation of digital libraries.
Library Collections, Acquisitions, and Technical Services, Article
in press, 2007.retrieved from ScienceDirect-Elsevier inc.

4. OCLC Report five-year information format (2003) OCLC report


on five-year information format trends. (2003). Retrieved from
http://www.oclc.org/reports/2003format.htm.

5. Digital librariesand their impact onlearninglibrary and


information science. SusieAlardzauthoring,

63

translationMohamedIbrahimHassan Mohamed. The world of


information, libraries and publishing.The Egyptian Association
forInformationandLibraries. Vol4 (1)in July2002.p. 147-162.

6. Mackie Boumarave joy. Digital libraries: the need of the times.


Recent trends in library and information. Vol 11, p 20 (1423-2003m).
P. 47-55.

7. Abdul
between

WahabbinMohammedIbalkhal.
theory

and

practice.

Digitallibraries(e)
In

Proceedings

ofDigitalLibrariesSymposium: Reality and Future Aspirations:


10-11 February1423, corresponding to 23-24April2002, King
Abdulaziz Public Library, Riyadh, 1423, 2003. Pp3-33.
8. M. G. Sreekumar and T. Sunitha. Seamless aggregation and
integration of diverse datastreams: Essential strategies for
building practical digital libraries and electronic information
systems. The International Information @ Library Review. V.
37(4) Dec. 2005. pp. 383-393.

64

Você também pode gostar