Tải bản đầy đủ (.doc) (38 trang)

eProject EasyTickets (Database+Code+Feeback Form)

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.44 MB, 38 trang )

Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

EasyTickets
- System Documentation

EasyTickets

Page 1

-


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

APROTRAIN APTECH
(285 Doi Can – Hanoi -Vietnam)
Group Members

NGUYEN DINH QUYEN

( Team Leader)

Student408238

PHAM QUANG HIEP ( Member)

Student408180

NGUYEN VUONG ANH ( Member)

Student399819



NGUYEN CONG TUAN ( Member)

Student408531

December 2012

EasyTickets
1.Problem Definition................................................................................................................4
....................................................................................................................................................4
1.1Problem Definition:....................................................................................................4
1.Customer Requirement Specification..................................................................................5
2.1 Customer Requirement Specifications Details..........................................................5
Page 2
EasyTickets


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
2.1.1 Client:..................................................................................................................5
2.1.2 Project/Business Objective:................................................................................5
2.1.3 Hardware requirements......................................................................................6
2.1.4 Software requirements........................................................................................6
2.2 System Functions.......................................................................................................6
2.2.1 Admin-site :........................................................................................................6
2.2.2 Client-site............................................................................................................8
3. System Design.....................................................................................................................10
3.1Data Flow Diagram..................................................................................................10
3.1Entity – Relationship Diagram.................................................................................26
3.3 Table Design........................................................................................................26
3.3.0 Table tblAccount: Store information about of tblAccount...............................26

3.3.1 Table tblCity s: Store information tblCity........................................................27
3.3.2 Table tblClass: Store information of tblClass...................................................27
3.3.3 Table tblEvent_type: Store information of tblEvent_type ...............................27
3.3.4 Table tblEvent: Store information about of tblEvent .......................................27
3.3.5 Table tblRole: Store information about of tblRole...........................................28
3.3.6 Table tblTicket: Store information of tblTicket................................................28
3.3.7 Table tblTicket_booking: Store information of tblTicket_booking.................28
3.3.8 Table tblVenue: Store information of tblVenue ..............................................29
3.3.9 Table tblFeedback: Store information of tblFeedback ....................................29
3.4 Flow Chat................................................................................................................29
3.4.1 Add new record.................................................................................................29
3.4.2 Edit record.........................................................................................................31
3.4.3 Search information............................................................................................31
3.4.4 Delete record.....................................................................................................32
4. Database Design..................................................................................................................33
4.0tblAccount................................................................................................................33
4.1tblCity.......................................................................................................................34
4.2tblClass.....................................................................................................................34
4.3tblEvent.....................................................................................................................34
4.4tblEvent_type............................................................................................................34
4.5tblRole......................................................................................................................35
EasyTickets

Page 3


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
4.6tblTicket....................................................................................................................35
4.7tblTicket_booking.....................................................................................................35
4.8tblVenue....................................................................................................................36

4.9tblFeedback...............................................................................................................36
5.GUI design...........................................................................................................................36

1. Problem Definition
Term
DFD
ERD

Description
Data Flow Diagram
Entities-Relationships Diagram

Abbreviations
1.1

Problem Definition:

‘Showbiz‘is

the company is principally into ticket sales, marketing and

distribution of event tickets. The services include providing information on
multiple event categories, providing ticketing facilities for several leading
multiplexes, arenas and stadiums. They are thinking of the concept of
developing a web portal, where a customer can book movie tickets in theatres
that are made available in the site. They wish to launch the website by the name
‘www.easytickets.com’ where they can provide convenient, secure, and fair
access to the best possible tickets offered by the clients. Showbiz aims at
making events happening across the city more accessible-just a click away.
Booking tickets can now an effortless, fun and exciting experience for every

EasyTickets

Page 4


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

showbiz customer.

1. Customer Requirement Specification
2.1 Customer Requirement Specifications Details
2.1.1 Client:
Aptech Ltd.
2.1.2 Project/Business Objective:
Generic:
 Register with the site.
 Change the password after login to the application.
 View See his/her details and change it.
 Help from the system.
 View all interviews scheduled to be taken .
 View the details of the applicants details.
 View the details of the vacancy.
 Search.
 Access to change the Interview details- Date/Time, Status
Admin :
 Create a new vacancy.
 Change any of the editable details for the vacancy.
 Create a new applicant.
 Change any of the editable details for the applicant.
 Postpone or remove the interview.

 Search.

EasyTickets

Page 5


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

2.1.3 Hardware requirements
Hardware
Processor
RAM
Hard-disk
Browser

Minimum
500Mhz
256MB of RAM
20MB space avaiable
Firefox,IE8

Recommended
1GHz or higher
512MB of RAM or more
20MB space avaiable

2.1.4 Software requirements
 Operating System:


Microsoft Windows XP, Vista, or 7.

 Intergrated Development Environment : NetBeans 6.9.1
 Technology Platform:

J2EE

 Web Server :

Apache Tomcat

 Database Management System:

Microsoft SQL Server 2005

 Client Browser :
Firefox 3.5+

Internet Explorer 8+, Mozilla

2.2 System Functions
2.2.1 Admin-site :
1

Function Name
Login function

EasyTickets

Input


Process

Output

-

-

-

User name
Password

Validate
information

Show
successful

Page 6


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
-

-

2


Change Profile

-

Password
New username
Old password
New password
New info

-

Select
applicant

-

3

View
details

applicant

-

4

View
details


interview

-

Select
interview

-

5

View
Status_Of_Applicant
details

-

Select
Status_Of_
Applicant

-

6

Admin search

-


Keyword
Choose
the
options
(reservation id,
customers)

-

Click to button
logout

-

7

Logout function

EasyTickets

-

-

Check username
and password from
database
If correct, show
welcome message
and redirect to

admin
control
panel
If information is
not exist, show
failure message
Check login (admin
account)
Check password
Validate
new
username
and
password.
Update
to
database (if satisfy
all conditions)
If correct, show
successful message
If not, show failure
message
Check login
Get data from
database and show
it to user’s details
panel
Check login
Get data from
database and show

it to building ‘s
details panel
Check login
Get data from
database and show
it to details panel
Check login
Find data from
database
according
the
option was chosen.
Show the fetched
data to result
panel
Remove session
Redirect to admin

-

-

-

message
(if
data is exist)
and redirect
to
admin

panel
Show failure
message
(if
data is not
exist)

Show
successful
message
(if
the
information
was updated
into database)
Show failure
message (for
each wrong
case)

-

Show user’s
details

-

Show detail

-


Show detail

-

Show
into
detail

data
table

Page 7


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
login panel

2.2.2 Client-site

1

Function Name
Register

Input

Process

Output


-

-

-

User name
Password
Address
Phone number
Customer name
E-mail

-

-

-

2

Login

-

Username
Password

-


-

-

3

Logout

EasyTickets

-

Click to logout button

-

Validate
the
information
Check username
and
e-mail
(existent in the
database)
If all are correct,
insert data into
database
and
show successful

message.
Redirect to client
homepage
If not, show
failure message
and redirect to
register page
Validate
information
Check username
and
password
from database
(existent)
If user is exist,
login to system,
change session
username as this
username.
Redirect to client
homepage. Show
logout, profile.
Hide login and
register options.
If not, show
failure message
and redirect to
login page
Set
session


-

-

Show
successful
message
(if
data
was
inserted into
database)
Show
failure
message (for
each
wrong
case)

Welcome
message
(if
login success)
Show
failure
message (for
each
wrong
case)


Page 8


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
-

4

Change profile

-

Click to change profile
option
New information of
profile

-

-

5

Change
password

-

Click

to
change
password button
Old password
New password (2
times)

-

-

6

Forget
password

-

Click
to
forget
password option (in
login page)
Username
E-mail

-

-


-

EasyTickets

username as null
Redirect to client
homepage
Hide
logout,
profile.
Show
register
and
login
options.
Check login
Validate profile
information
If all are correct,
update data into
database. Show
successful
message
and
redirect
to
profile page
If not, show
failure message
and redirect to

profile page
Check login
Validate
Check
old
password
If all are correct,
change password
and update into
database. Show
successful
message
and
redirect
to
profile page
If not, show
failure message
and redirect to
change password
page
Check username
and e-mail from
database
(existent)
If correct, send
password to this
e-mail.
Show
report page.

If not, show
failure message

-

-

-

-

-

-

Show
successful
message and
new profile if
data
was
updated
to
database
Show
failure
message (for
each
wrong
case)


Show
successful
message
(if
data
was
updated into
database)
Show
failure
message (for
each
wrong
case)

Show
report
page
(your
password
is
sent to your email)
Show
failure
message (for
each
wrong
case)


Page 9


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

7

View profile

-

Click to view profile
option

-

8

Search
information
about interview

-

Enter
string
into
textbox to search

-


Contact
admin

-

Enter contact into
textbox
in
form
contact

-

9

to

-

and redirect to
forget password
page
Check login
Get
the
information of
this user from
database
and

show it to profile
page
Validate
information
If all are correct,
get
the
information and
show for user
Check login
If login is correct
then
send
contact to admin
else recommend
register

-

Information of
user

-

Show info

-

Contact
success


3. System Design
3.1

Data Flow Diagram

3.1.1 DFD – Level 0 (Context Diagram)

EasyTickets

Page 10


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD level 0: Context Diagram

DFD Level-0: Context diagram of Book Store Online System includes:
 Two external entities: The User and Administrator.
 One main process: Book Store Online.
The operation of the system: When two external entities have got requirement
information from the system, they will send the information request and have
results, the system will return these results for these two external entities.

3.1.2 DFD – Level 1

EasyTickets

Page 11



Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD level 1: Application process

Data Flow Diagram at the top-level (DFD Level-1) of the this system includes:
There are two external entities: The User and Administrator
There are 4 Process:

1. Change Information
2. Login
3. User Function
4. System Function

EasyTickets

Page 12


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
3.1.3

.DFD – Level 2 for User Function: Enquiry Information

DFD Level 2-1: Enquiry Information

EasyTickets

Page 13



Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
3.1.3.DFD – Level 2 for User Function: Order Tickets

DFD Level 2-2: Order Tickets

EasyTickets

Page 14


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets
3.1.4.DFD – Level 2 for Admin Function: View Detail of User

DFD Level 2-3: View Details of User

EasyTickets

Page 15


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

3.1.5.DFD – Level 2 for Admin Function: Edit Detail of User

DFD Level 2-4: Edit Details of User

EasyTickets

Page 16



Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

3.1.6.DFD – Level 2 for Admin Function: Create New User

DFD Level 2-5: Create New User

EasyTickets

Page 17


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

3.1.7.DFD – Level 2 for Admin Function: View Detail of Ticket

DFD Level 2-6: View Detail of Ticket

3.1.8.DFD – Level 2 for Admin Function: Edit Detail of Ticket

EasyTickets

Page 18


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-7: Edit Detail of Ticket


3.1.8.DFD – Level 2 for Admin Function: Create New Ticket
EasyTickets

Page 19


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-8: Create New Ticket

3.1.9.DFD – Level 2 for Admin Function: View Detail Category
EasyTickets

Page 20


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-9: View Detail Category

3.1.10.DFD – Level 2 for Admin Function: Edit Detail Category

EasyTickets

Page 21


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-10: Edit Detail Category


3.1.11.DFD – Level 2 for Admin Function: Create New Category
EasyTickets

Page 22


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-11: Create New Category

3.1.12.DFD – Level 2 for User: Change Information Function
EasyTickets

Page 23


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-12: Change User Information

3.1.13.DFD – Level 2 for User Function: Login
EasyTickets

Page 24


Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets

DFD Level 2-13: Login


EasyTickets

Page 25


×