Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 38 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
38
Dung lượng
3,05 MB
File đính kèm
Database+Code+Feeback Form.rar
(16 MB)
Nội dung
Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets - System Documentation EasyTickets Page - 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 1.1Problem Definition: 1.Customer Requirement Specification 2.1 Customer Requirement Specifications Details Page EasyTickets Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 2.1.1 Client: 2.1.2 Project/Business Objective: 2.1.3 Hardware requirements 2.1.4 Software requirements 2.2 System Functions .6 2.2.1 Admin-site : 2.2.2 Client-site 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 Database Design 33 4.0tblAccount 33 4.1tblCity .34 4.2tblClass 34 4.3tblEvent 34 4.4tblEvent_type 34 4.5tblRole 35 EasyTickets Page Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 4.6tblTicket 35 4.7tblTicket_booking 35 4.8tblVenue 36 4.9tblFeedback .36 5.GUI design 36 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 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets showbiz customer 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 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 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 : Function Name Login function EasyTickets Input Process Output - - - User name Password Validate information Show successful Page Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets - - Change Profile - Password New username Old password New password New info - Select applicant - View details applicant - View details interview - Select interview - View Status_Of_Applicant details - Select Status_Of_ Applicant - Admin search - Keyword Choose the options (reservation id, customers) - Click to button logout - 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 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets login panel 2.2.2 Client-site Function Name Register Input Process Output - - - User name Password Address Phone number Customer name E-mail - - - Login - Username Password - - - 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 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets - Change profile - Click to change profile option New information of profile - - Change password - Click to change password button Old password New password (2 times) - - 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 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets View profile - Click to view profile option - Search information about interview - Enter string into textbox to search - Contact admin - Enter contact into textbox in form contact - 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 System Design 3.1 Data Flow Diagram 3.1.1 DFD – Level (Context Diagram) EasyTickets Page 10 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets DFD Level 2-12: Change User Information 3.1.13.DFD – Level for User Function: Login EasyTickets Page 24 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets DFD Level 2-13: Login EasyTickets Page 25 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.1 Entity – Relationship Diagram Database Diagram 3.3 Table Design 3.3.0 Table tblAccount: Store information about of tblAccount tblAccount Column EasyTickets Data type Size Allow null Description Page 26 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets ID username password fullname phone address email create_date birth_date roleID int varchar varchar nvarchar varchar varchar varchar datetime datetime int Not null Not null Not null Not null Null Notnull Null Null Null Null 50 50 50 15 100 100 Primary key 3.3.1 Table tblCity s: Store information tblCity tblCity Column ID name Data type Int nvarchar 3.3.2 tblClass Column ID name total_seat venueID Size 50 Allow null Not null Not null Description Primary key, auto-generated Foreign key Table tblClass: Store information of tblClass Data type Size Int nvarchar Int Int Allow null Not null Not null null Not null Description Primary key 3.3.3 Table tblEvent_type: Store information of tblEvent_type tblEvent_type Column ID name Data type Int Nvarchar Size 100 Allow null Not null Not null Description Primary key 3.3.4 Table tblEvent: Store information about of tblEvent tblEvent EasyTickets Page 27 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets Column ID title [content] image Event_typeID Data type Int nvarchar nvarchar varchar int Size 200 1000 100 Allow null Not null Not null null null Null Description Primary key 3.3.5 Table tblRole: Store information about of tblRole tblRole Column ID name IsOwner Data type Int Nvarchar bit Size 50 Allow null Not null Not null null Description Primary key 3.3.6 Table tblTicket: Store information of tblTicket tblTicket Column ID price create_date view_date view_time eventID venueID classID Data type Int float datetime datetime varchar int int int Size Allow null Not Null Not null Not null Not null Not null Null Null Null Description Primary key 3.3.7 Table tblTicket_booking: Store information of tblTicket_booking tblTicket_booking Column ID ticketID accountID Ticket_total Price_total Accept_status EasyTickets Data type Int int int int money char Size Allow null Not Null null null Not null Not null Null Description Primary key Page 28 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.3.8 Table tblVenue: Store information of tblVenue tblVenue Column ID name address cityID Data type Int nvarchar nvarchar int Size 100 100 50 Allow null Not null Not null Not null null Description Primary key 3.3.9 Table tblFeedback: Store information of tblFeedback tblFeedback Column ID title [content] email Data type Int Int Datetime Varchar Size 50 Allow null Not null Not null Not null Not null Description Primary key Foreign key 3.4 Flow Chat 3.4.1 Add new record EasyTickets Page 29 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets Page 30 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.4.2 Edit record 3.4.3 Search information EasyTickets Page 31 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.4.4 Delete record EasyTickets Page 32 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets Database Design 4.0 EasyTickets tblAccount Page 33 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets 4.1 tblCity 4.2 tblClass 4.3 tblEvent 4.4 tblEvent_type Page 34 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets 4.5 tblRole 4.6 tblTicket 4.7 tblTicket_booking Page 35 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 4.8 tblVenue 4.9 tblFeedback GUI design Index.jsp EasyTickets Page 36 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets Admin GUI EasyTickets Page 37 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets Page 38 [...]... 3.4.1 Add new record EasyTickets Page 29 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets Page 30 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.4.2 Edit record 3.4.3 Search information EasyTickets Page 31 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.4.4 Delete record EasyTickets Page 32 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 4 Database Design 4.0 EasyTickets tblAccount... 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. .. 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... Page 33 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets 4.1 tblCity 4.2 tblClass 4.3 tblEvent 4.4 tblEvent_type Page 34 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets EasyTickets 4.5 tblRole 4.6 tblTicket 4.7 tblTicket_booking Page 35 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 4.8 tblVenue 4.9 tblFeedback 5 GUI design Index.jsp EasyTickets Page 36 ... 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 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.1 Entity – Relationship Diagram Database Diagram 3.3 Table Design 3.3.0 Table tblAccount: Store information about of tblAccount 1 tblAccount Column EasyTickets Data type Size Allow null Description... 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... 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. .. – 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. .. tblEvent_type Column ID name Data type Int Nvarchar Size 100 Allow null Not null Not null Description Primary key 3.3.4 Table tblEvent: Store information about of tblEvent 5 tblEvent EasyTickets Page 27 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets Column ID title [content] image Event_typeID Data type Int nvarchar nvarchar varchar int Size 200 1000 100 Allow null Not null Not null null null Null Description... information of tblTicket_booking 7 tblTicket_booking Column ID ticketID accountID Ticket_total Price_total Accept_status EasyTickets Data type Int int int int money char Size 1 Allow null Not Null null null Not null Not null Null Description Primary key Page 28 Aprotrain - Aptech Doi Can - Ha Noi – EasyTickets 3.3.8 Table tblVenue: Store information of tblVenue 8 tblVenue Column ID name address cityID Data