Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese...
-
Upload
oswin-morrison -
Category
Documents
-
view
212 -
download
0
Transcript of Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese...
![Page 1: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/1.jpg)
ROW INN ROW CHINESE
RESTAURANTProposed Website
By Raymond Chieng
and Tim
![Page 2: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/2.jpg)
INTRODUCTIONThis website design is based on a local
Chinese restaurant which basically need to facilitate online ordering and table reservations. Netbeans is the software mainly used to build this website.
In relation to this project, the following will be explained:
Requirements Design Code Testing
![Page 3: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/3.jpg)
REQUIREMENTS The purpose of the requirements
documentation is to get a better understanding and help the design of the project from different stakeholders.
The requirements are generated from-Customers
-Administrators -Bank -System
![Page 4: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/4.jpg)
DESIGN Technology applied - JDBC (Java Database Connectivity) - JSP (Java Server Page) - HTML (Hypertext Markup Language) - CSS (Cascading Style Sheet)
![Page 5: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/5.jpg)
JDBC CODE Establish a JDBC Connection – 2 steps1.Loading the JDBC driver - A line of code
Class.forName(“org.apache.derby.jdbc.ClientDriver”); - Class.forName – is used to create an instance of a driver and
register it with the DriverManager. When you have loaded a driver, it is available for making a connection with a DBMS (Database Management System).
2.Making the connection - To establish a connection you need to have the appropriate
driver connect to the DBMS. - Connection con = DriverManager.getConnection
("jdbc:derby://localhost:1527/ROWINNROW"); Create JDBC statements - You create a Statement object and then execute it, supplying
the appropriate execute method with the SQL - Statement stmt = con.createStatement();
![Page 6: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/6.jpg)
TESTING Black box testing – based on requirement document Use test cases to get actual results, comparing to
the expected results Example of a Test Case: Test Case #: 14 Objective: Login with wrong username Input(s): ” raymon”; “1234”; click “login”button Expected Output: Alert message and can not log in Requirement tested: WS-1001; WS-1002; WS-2001 Example of Test Result Actual Output: Message of “User Name not found
Try again” comes up; Can not login Result: Pass
![Page 7: Proposed Website By Raymond Chieng and Tim. This website design is based on a local Chinese restaurant which basically need to facilitate online ordering.](https://reader035.fdocuments.in/reader035/viewer/2022072010/56649dbc5503460f94aae430/html5/thumbnails/7.jpg)
CONCLUSION A practical project of setting up a
website for restaurant/ catering business
Useful techniques: JDBC, JSP, CSS, HTML Problem Solving – google; related
journals or articles; consulting friends/teamwork
Need good Project planning – time related, effect related, need good teamwork