Professional Documents
Culture Documents
Student Name:
NCC Number:
Word Count: 11,283
Chapter 1: Project Proposal
1.1 Introduction
Mr Organic is one of the most famous supermarket chain retailers in Hong Kong, which
sells over a thousand kinds of organic food produced in different countries. Mr Owen
Mak, the founder and CEO of Mr Organic, set up the first retail shop in Hong Kong in
2012. In the beginning, Mr Organic is mainly focusing on reselling the organic products
manufactured overseas such as Japan, the USA or Australia. “Taste Organic, Feel
Fantastic", which is the most famous slogan of Mr Organic. Different from the other
organic resellers, they start offering dine-in services which allow customers to order the
dishes and enjoy the meal within the restaurant area. This breakthrough strategy brings
Mr Organic to win the award of “Great Enterprise in Hong Kong 2016”, and raises the
profit of the company rapidly.
Nowadays, there are a total of 10 branches of Mr Organic in Hong Kong. Although the
branches are growing steady, Owen wants to investigate a new direction for Mr Organic
to increase the income. According to the existing business model, each branch manages
its own sales record and members data, which is simply basically using Excel for data
monitoring and sharing. Although they recorded the membership information, it is
difficult for them to arrange some marketing campaigns since the data are not well
stored and organized, Owen always thinks that this is a great asset for him and is willing
to reorganize and redesign the data management method to make use of these data.
In 2020, due to the effect of the COVID-19, users' behaviour in Hong Kong changed,
they become more willing to cook the meal at home, or buy out and take away from
restaurants. Owen Mak thinks that it is a good chance for Mr Organic to change their
business model: To help customers to enjoy Mr Organic’s dishes at home.
With discussion with his management team, Owen plans to change some of the
branches’ restaurant area into “Learning Centre”, to let customers join some lessons
related to Mr Organic, such as how to cook the famous dishes of Mr Organic, or how to
choose the best food for you. On the other hand, they start planning to sell their product
or order the dishes by their online system, so customers can taste their dishes at home,
no matter if they are cooking themselves, or enjoy it directly.
According to these changes, Owen thinks that they need a new website which allows
customers to check the course schedule and purchase Mr Organic’s products and dishes.
On top of the website, Owen also wants to capture the customers’ behaviour and link
them up with the existing data from the retail shop.
1.2 Aims, Objective and Scope
1.2.1 Aims
The new system should allow Admin Clerk to manage the latest information about Mr
Organic to the website, including the course information, product information and the
latest news for Mr Organic. Customers can also log in to the system to purchase the
products, apply for the course and review their previous order history.
The frontend of the system should be developed by HTML5, CSS, Javascript and
Bootstrap, and the backend should be developed by PHP and Mysql, on Linux platform
provided by AWS.
1.2.2 Objective
The Project “Mr Organic Online Shop” is designed for Mr Organic to provide customers
with the following new service:
- Allow Customer to keep an eye on Mr Organic’s news and events
- Allow Customer to purchase the products provided by Mr Organic
- Allow Customer to apply the courses provided by Mr Organic
- Allow Customer to review their order history on Mr Organic
The system should also provide a new workspace for Mr Organic Staffs including:
- Allow admin staff to manage Company related news and events easily
- Allow admin staff to manage Company products easily
- Allow admin staff to manage Company courses easily
- Allow admin staff to review the application of the courses for further action
1.2.3 Scope
To complete the project, the following deliverables should be included:
- A simple user guide for the backend control panel usage
- A simple how to use the online guideline for customer
- A completed system with all the functions mentioned, with a completed UAT
report.
1.3 Project Plan
1.3.1 Schedule
A brief Project Plan Schedule is listed as follow:
# Stage Name Start Date Est. Complete Date Working
Day
Objectives To get the basic information about the project and agreement from each
party
Activities Arrange to a Kick-off meeting with different users and plan for the High-
Level Design of the system
Objectives To identify and find out all relevant factor which affects the project
Activities Arrange meetings with different parties to identify the key factor of the
project and identify the role between each party
Deliverables A document which included the key factor and the suggested proposal
Activities Arrange meetings with different parties to get their opinion about the
problem they are facing and get some ideas about the features
Objectives To design the flow of the new system and the function of the system
Activities Production Team will design the system with the requirements provided
by different parties
Deliverables Some diagram including UI/UX Design, Use case Diagram, ER Diagram
Activities Arrange some meetings to list our the cases User would like to test in
UAT
Deliverables A completed System for testing, and a UAT test Result following the test
plan
Deliverables A report for review and suggest the improvement of the system
Chapter 2 Feasibility Study
2.1 Introduction
Mr Organic is one of the most famous supermarket chain retailers in Hong Kong, which
sells over a thousand kinds of organic food produced in different countries. Mr Owen
Mak, the founder and CEO of Mr Organic, set up the first retail shop in Hong Kong in
2012. In the beginning, Mr Organic is mainly focusing on reselling the organic products
manufactured overseas such as Japan, the USA or Australia.
“Taste Organic, Feel Fantastic”, which is the most famous slogan of Mr Organic.
Different from the other organic resellers, they start offering dine-in services which
allow customers to order the dishes and enjoy the meal within the restaurant area. This
breakthrough strategy brings Mr Organic to win the award of “Great Enterprise in Hong
Kong 2016”, and raises the profit of the company rapidly.
Since 2017, Mr Organic has started cooperating with farms all over the world. They
start building their food branding named Organic Choice 101. On the other hand, Mr
Organic also processed for some merger and acquisition with some Organic Food
Producer. In 2019, Organic Choice 101 becomes one of the top 10 favourite brandings
in Organic Food Producer.
Nowadays, there are a total of 10 branches of Mr Organic in Hong Kong. Although the
branches are growing steady, Owen wants to investigate a new direction for Mr Organic
to increase the income. According to the existing business model, each branch manages
its own sales record and members’ data, which is simply using Excel for data
monitoring and sharing. Although they recorded the membership information, it is
difficult for them to arrange some marketing campaigns since the data are not well
stored and organized, Owen always thinks that this is a great asset for him and is willing
to reorganize and redesign the data management method to make use of these data.
2.2 Project Initialization
In 2020, due to the effect of the COVID-19, users' behaviour in Hong Kong changed,
they become more willing to cook the meal at home, or buy out and take away from
restaurants. Owen Mak thinks that it is a good chance for Mr Organic to change their
business model: To help customers to enjoy Mr Organic’s dishes at home.
With discussion with his management team, Owen plans to change some of the
branches’ restaurant area into “Learning Centre”, to let customers join some lessons
related to Mr Organic, such as how to cook the famous dishes of Mr Organic, or how to
choose the best food for you. On the other hand, they start planning to sell their product
or order the dishes by their online system, so customers can taste their dishes at home,
no matter if they are cooking themselves, or enjoy it directly.
According to these changes, Owen thinks that they need a new website which allows
customers to check the course schedule and purchase Mr Organic’s products and dishes.
On top of the website, Owen also wants to capture the customers’ behaviour and link
them up with the existing data from the retail shop.
2.3 Terms Of References
The Feasibility study information is gathered from the following candidates and
department:
● Founder and CEO - Mr Owen Mak
● General Manager - Mr Jasper Yip
● Project Manager - Ms Debbie Wong
● Account Manager - Mr Calvin Lung
● Marketing Manager - Ms Polly Fong
● Operation Manager - Ms Amy Kang
● District Manager - Ms Chris Cheung
● Dining Team Manager - Mr Martin Lam
● Retail Shop Management Teams
● Retail Shop Operation Team
● Dining Team
All the information is gathered by meetings, interviews and site visit from 1 to 24 Sept
2020. The feasibility report summarized the information gathered into two sections:
● Current Issue Findings
● Suggested Solutions
The expected functions and requirements of the Mr Organic Online Shop are listed as
follow:
● [Must Have] Show the Product information clearly on the website
● [Must Have] Show the Retail shop information and location on the website
● [Must Have] Show the Course information on the website
● [Must Have] Allow Customer to purchase a product on the online shop
● [Must Have] Allow Customer to order dishes on the online shop
● [Must Have] Allow Customer to join as a member
● [Must Have] Allow Customer to view their order history
● [Must Have] Show Mr Organic News and Events on the website
● [Should Have] Customer can leave their email for the Newsletter
● [Should Have] Show the Nutrition label and the ingredients of the products and
the meals
● [Should Have] Allow Admin to update Product information in backend panel
● [Should Have] Allow Admin to update Course information in backend panel
● [Should Have] Allow Admin to check the purchase history in backend panel
● [Could Have] Show view count and purchase count
● [Could Have] Share to Social Media
● [Won’t Have] Comment on products or course
● [Won’t Have] Online Payment Gateway [Will link up with 3rd party ordering
system with payment and delivery]
● [Won’t Have] Membership loyalty system [Next Phase]
● [Won’t Have] Online Course for cooking [Next Phase]
The whole feasibility study report will be presented to the founder and all Task Force
Team members on 24 Sept 2020.
According to the chart, Mr Jasper Yip and Debbie Wong are directly reported to Mr
Owen Mak, and the managers of Operation Department, Finance and Account
Department and Sales and Marketing Department are directly reported to Jasper Yip,
and so the person who listed as above should join the Project Task Force Team.
Here is some additional background about how each role important to the project, and
which area can they covered:
Founder and CEO - Mr Owen Mak
Background Founder of Mr Organic, the key person who drives the business direction
of the company. To make the project successful, he had announced that
this project is one of the most important aims of the company.
Background He has worked for Mr Organic since 2012, one of the key person who
helps the branches to make decisions and design the daily operation flow.
Know well about the current operation flow of each department.
Responsibility Provide Requirement for the project, make a high-level decision of the
project
Background She has worked for Mr Organic since 2014, which mainly focuses on
managing the IT Department and development department. Work closely
with the Sales and Marketing Team on supporting the events and
promotions organized.
Responsibility Project Manager of the Mr Organic Online Shop works closely with the
management team and development team to manage the project status
Account Manager - Mr Calvin Lung
Background He had worked in the accountant related area for over twenty years and
joined Mr Organic in 2013. She knows much about the operation and
requirement of the accounting department
Responsibility Superuser
Background She had worked in the marketing area for over ten years, joined Mr
Organic in 2016. She is the key person on market planning on the
company’s products, and know well about the Sales and Marketing
Department’s requirement
Responsibility Superuser
Background She had joined Mr Organic in 2015. She had worked as a dining team and
operation team during her working career in Mr Organic.
Responsibility Superuser
Background She had joined Mr Organic in 2015, and mainly focus on managing the
daily operation of the retail shop
Responsibility Superuser
Dining Team Manager - Mr Martin Lam
Responsibility Superuser
2.6 Organizational Arrangement
The Online Shop will be developed under the UAT environment until all the
requirements are solved. After the development is completed, the system will go under
UAT. Once the UAT is completed and received by the Project Task Force Team’s all
total approval, the system will be launched to the production server and go live.
Development Strategy All stakeholder should work All process should go through
closely to keep on monitoring stage by stage, no requirement
and discussing the project is allowed when the stage is
status and problem faced, to started, and no stage back and
make a quick response if any fore are allowed.
requirement needs changes.
Every morning, the admin clerk should check the email, and see whether there are any
product adjustment tasks planned, such as new products on the shelf, special discount
sales, or product off the shelf. Since the POS using is an offline system, each retail shop
should manage their data on the POS, it spends around 1 hour every day to manage the
local data, and valid the pricing and stock status.
On the everyday end, the admin clerk should process a check balance action and send
back the sales records to the accounting department by email. The admin clerk should
export the sales records from the POS into an excel format. After the accounting
department receives the excel, they should manually copy the data and paste into one
single file as a finance report.
For the customer side, as there is no online system provided to the customer, the
customer needs to call the hotline for support. This support included reserve the table
from the restaurant, ask for information about the product, check whether the product
they want is selling in a specific retail shop.
As a quick conclusion about the existing operation, there are lots of offline tasks needed
to be handled by Admin Clerks manually, time is consuming and mistakes are easily
made since the main communication method between each other is mainly by hand.
3.2 Issue List Of Current Operation and System
On the other hand, if there are any critical changes needed, we can provide a quick
response on the changes and arrange the further action about these changes as soon as
possible, which reduces the harm of the changes affecting the project schedule.
3.5.1 Assumptions
● The project will start on 3 Aug 2020, and target deploy date will be 1 Jan 2021
● The stakeholders of this project should join the meetings arranged for each
stage, including Feasibility Study, Foundations, Exploration, and Deployment
stages.
● The developers of this project should strictly follow the guideline of the DSDM
Agile iterative development approach
● Project Manager is responsible for monitoring the progress and the resources
and financial budget required of this project, which is empowered by the Project
Founder.
● To speed up the development time, Third Party Company Fast Delivery will take
part in the delivery management, shopping cart handling and online payment
service of Mr Organic Online Shop at the first stage. Followup review will be
made after launch, including the number of usages, a number of the purchase,
and spending required if we add a shopping cart-related functions and online
payment-related functions.
3.5.2 Dependencies
● Project success has closely relied on Stakeholders planning and judgement.
Stakeholders should be able to join all the meetings arranged, for a status update,
progress review, and planning discussion.
● Stakeholders should voice out if anything they found is unclear or not following
their requirement as early as they can since the cost required for changes will be
increased due to development progress.
● Developers should report to Project Manager as soon as possible if anythings
strangled during development, and so Project Manager can follow up
immediately in the regular meeting.
● The Fast Delivery should be able to support Mr Organic for the integration
between the online shop and their shipment & payment gateway.
3.5.3 Risks
● Stakeholders may change their requirement during the time, although changes
are allowed in DSDM, to make the project, stakeholder should arrange the
changes and requirement into the level, and the sequence of the amendment
should follow the priority to allow the management team to place all the
resource on higher priority first.
● Operation Team needs time to study the new operation flow, especially Dining
Team, they need to prepare teaching resources for customers to join the course.
On the other hand, the dining team should handle the workload on taking away orders
and the cooking class, a good planning and system guideline is needed for the operation
team to help them to migrate to the new system.
3.7 User Requirements
According to the meetings, here are the user requirements from the stakeholders:
● Provide a new online platform to strengthen the bonding between customers and
our company
● Provide a platform for customers to know more about our company, including
the events, promotions, products, courses and meals.
● The new system should share part of the workload of the operation team, so the
operation team can focus on the things that need their help.
● The new system should provide a new method for the customer to enjoy our
company’s product, like to learn how to cook the dishes of our company, or
ordering the meals and enjoy at home
● The online platform should motivate the customer to purchase our company’s
product.
● The online shop should be able for the customer to use on either desktop or their
mobile device
● The online platform should attract customers to visit periodically
● The online platform should provide a 7-24 service
Regarding the above requirements, we can group and categorize the requirements into
the following:
Performance:
● The System should fast in response, the target that around 90% of the function
should be completed within 2 seconds
● Available for the user to switch to other permitted pages, module and functions,
according to user role setting
● User can reach the pages that they want to visit in 3 clicks (Under Desktop
Environment)
● The systems should support multiple users at the same time
Usability:
● Maintenance Schedule should be planned and announced to Users before at least
1 week
● Downtime for each Maintenance should be estimated and announced to Users
within the announcement
3.8 Other Requirement
OS-PROD- Online Shop Product List Function to show the list of the products
LIST
OS-PROD- Online Shop Product Detail Function to show the details of the
DETAIL product
OS-COU-LIST Online Shop Course List Function to show the list of the course
OS-COU- Online Shop Course Detail Function to show the detail of the course
DETAIL
OS-NEWS- Online Shop News List Function to show the list of News and
LIST Events
OS-NEWS- Online Shop News Detail Function to show the detail of News and
DETAIL Events
OS-RET-LIST Online Shop Retail Shop Function to show the list of Retail Shop
List
OS-RET- Online Shop Retail Shop Function to show the detail of the retail
DETAIL Detail shop
OS-MEM-OH- Online Shop Member Function to allow the member to view his
LIST Order History List or her list of order history
OS-MEM-OH- Online Shop Member Function to allow the member to view his
DETAIL Order History Detail or her previous order's detail
OS-MEM- Online Shop Member Function to allow the member to view his
COU-LIST Course Application List or her application of course
OS-CART Online Shop Shopping Cart Function to allow the member to manage
the shopping cart
Control Panel
Function ID Description Function
CP-USER- Control Panel User List Function to list control panel user
LIST
CP-USER- Control Panel User Detail Function to view the detail of the control
DETAIL panel user
CP-NEWS- Control Panel News List Function to list the news and events
LIST
CP-NEWS- Control Panel News Detail Function to view the detail of news and
DETAIL events
CP-PROD- Control Panel Product Detail Function to view the detail of the
DETAIL products
CP-COU- Control Panel Course Detail Function to view the detail of the course
DETAIL
CP-RET-LIST Control Panel Retail Shop Function to list the Retail Shop
List
CP-RET- Control Panel Retail Shop Function to view the detail of Retail Shop
DETAIL Detail
CP-ORD- Control Panel Order Detail Function to view the detail of the order
DETAIL
4.1.1 Entity
Mr Organic Online shop contains 10 Entities within the database:
Attribute Range/Lengt
Name Data Type h Null Constraints
Member
member_emai
l Varchar 50 NOT NULL
member_addr Text 30
Orders
payment_ref text
address text
status char 1
OrderItem
qty int 10
Application
Course
description text
date date
time varchar 40
status char 1
Product
stock_qty int 30
description text
type enum V, S, F
News
description text
status char 1
Retail
address text
status char 1
tel varchar 20
open_hour varchar 20
email varchar 40
Company
company_nam
e varchar 100 NOT NULL
description text
Staff
status char 1
4.2 Physical Design
According to the system design, we will separate the network into 2 networks:
1) Public Network
Public networks included the Online store hosting (Service provided by AWS), and the
API gateway. The public network is open for all user to access, and the data of the
website will be called from frontend to database through the API Gateway, which the
network between API Gateway and database is a trusted and secure connection.
2) Private Network
Private networks included the Database, workstations and the hosting of the Control
Panel. Only the workstation is allowed to access the private network, which can protect
the secure data and information. The only bridge between public and private network
will be between the database and the API gateway, which provide us with a more easy
way to monitor and troubleshooting.
Here is a Network design diagram with the idea of the hardware design:
Chapter 5 Test Plan
5.1 Introduction
The purpose of this test plan is to ensure the Mr Organic Online Shop is developed
following our systematic and organized approach, according to our System Logical and
Physical Designs. Users should perform the test based on all listed functions and test
cases following the test plan and record all unexpected results on our Testing Report.
UI Checking to see
whether there are any
T-CP-UI-1 CP-UI layout issue on Desktop All
Product Information
T-CP-PROD-LIST-1 CP-PROD-LIST Listed as normal Operation Team
Course Information
T-CP-COU-LIST-1 CP-COU-LIST Listed as normal Operation Team
Member Information
T-CP-MEM-LIST-1 CP-MEM-LIST Listed as normal Operation Team
Sales Records
T-CP-ORD- Information Show as
DETAIL-2 CP-ORD-DETAIL normal Operation Team
Submitted Course
application should show
T-CP-COU-APP-1 CP-COU-APP normally Account Team
5.3 Test Report
All the key personnel have joined the UAT and tested for the system following the
testing plan. The testing period starts from 22 Dec 2020 to 24 Dec 2020, and the testing
is completed follow our expectation.
A testing review meeting was held on 27 Dec 2020, all the key person have joined and
shared their experience and testing feedback as below:
● UI is displayed as expected, Marketing team suggested to change some of the
icons into the wording and so the user can use the system more easily
● Loading time is slightly longer than expected, the Development team will
review and seek the reason
● The online purchase process is smooth and can integrate into a Fast Delivery
system under expectation.
● Operation Team reported that Data input in Control Panel is good, and improved
their daily operation.
● Some data misplant problem found in Retail Shop Section during UAT,
Development Team will followup the issue
5.4 Testing Issues And Solution Status
According to the Testing review meeting, the following outstanding issue is found and
the followup status are listed as follow:
Checked is due to a
minor bug in the control
Data Misplanted in panel, and it is fixed
Retail Shop Operation Team afterwards. 05 Jan 2021
Chapter 6 Implementation Plan
6.1 Introduction
The objective of the implementation plan is to define the steps of the implementation
and provide a schedule of implementation.
The success factors of the implementation of the Online Shop are listed below:
● The online shop should be able to help users on daily operation
● The data received from frontend including the Sales order and Course
Application should be stored and centralized, so Admin Staff in back-office can
process for further action
● Customers can easy to submit purchase and application, and provide a new
insight for customers to know more about Mr Organic’s services
● The system can provide stable, reliable and accurate data processing
7.1 Introduction
Mr Organic Online Shop has been launched for over one month, the Mr Organic Online
Shop provided a new way for the customer to enjoy Mr Organic’s services and
products. For system improvement and business forecast, we have processed a
Questionnaire for different parties, to collect user feedback and comment about the new
system.
We have sent out the questionnaire to 6475 members and 128 staff, and over 90%
replied. The questionnaire covered the following questions:
7.4 Enhancement
For Enhancement, the Online Shop and Control Panel shows a good example and good
experience to both staff and customer, for next, we can try to add the POS related
feature into the control panel, and this change will provide us with a centralized Product
Master and Membership Master Data, which reduced the chance on human error and
Operation Team’s pressure on daily operation.
7.5 Conclusion
After reviewing the entire system and comments from users, the Mr Organic Online
Shop and Control Panel is a success and users are likely to keep on using the new
system. Although the online system contains some issues and limitations, these can be
improved on the next upgrade.
Appendix
Section 1: Introduction:
The purpose of this user guide is to provide the user with an overview of Mr Organic
Online Shop.
In this document, we will try to break down the online shop into pages and elements to
help users to know how to use our Online Shop.
2) Web Content
Contained the basic web content including the course information, news information
and product information.
3) Member Section
Contained the Member information such as Order History and Course Application
Header:
Footer
Contains some static page linking including T&C, Privacy Policy, and there is a
Newsletter function allowing users to subscribe to the newsletter.
Section 4: Main Page
There is a banner for Mr Organic to show some promotion event or special offer.
Under the banner, there will be a product section to show the products on stock. User
can select the category to select the type of product to view. If the user is interested in
the product, they can click on the photo and visit the product detail page.
Similar to the production, the following will be the meals provide by Mr Organic. Users
can click on the image and visit the Meal detail page.
After the Meal section, there will be a spotlight section which contains a Course held in
Mr Organic, and also the News and Events of Mr Organic. Click the Show More button
to visit the detail page to see the details.
And the last section of the main page will be the retail shop list, which allows users to
click and view the contact information of the retail shop.
Section 5: About Mr Organic
Another list of view for Product List. A filer is shown on the left-hand side, and the user
can filter the product by type, by price. and the records can sort by price or rating.
User can click the image to view the product detail page.
Section 7: Product Detail
Users can view the product detail on this page. If they are interested in this product, they
can select the qty and press add to cart to put it into the shopping cart.
When you scroll down, you can view the description of the product and the
specification of the product.
You can also find that there are related meals to these ingredients.
Section 8: Meal List
Another list view for Meal List. A filer is shown on the left-hand side, and the user can
filter the product by type, by price. and the records can sort by price or rating.
User can click the image to view the meal detail page.
Section 9: Meal Detail
Users can view the meal details on this page. If they are interested in this meal, they can
select the qty and press add to cart to put it into the shopping cart.
When you scroll down, you can view the description of the product and the
specification of the product.
You can also find that there are related ingredients to this meal.
Section 10: News & Event List
On the News & Event List page, we will list out all the company-related events. If a
user is interested in the event, they can click on the image and visit the detail page.
On the right-hand side, there is a search function for News & Events. User can type in
the keyword, the news will be filtered by the keywords.
Section 11: News & Event Detail
On the News & Event Detail Page, the user can view the information about the event.
On the other hand, the user can also search for the events by keywords on the right-hand
side.
Section 12: Course List
On the Course List page, we will list out all the course provided by Mr Organic, they
can click on the image and visit the detail page.
On the right-hand side, there is a search function for Course. User can type in the
keyword, the news will be filtered by the keywords.
Section 13: Course Detail
On the Course Detail Page, the user can view the information about the course. On the
other hand, the user can also search for the course by keywords on the right-hand side.
Section 14: Member Login
Existing Member can log in to the system by username and password. If the member
forgot the password, they can click the “Lost your password?” and fill in the email for
reset password, and the user will receive the new password by email shortly.
On the other hand, if the user would like to join as a member, they can enter the email
and password on the registration form on the right-hand side, an account activation
email will be sent to the inputted email shortly.
Section 15: Member Dashboard
Within the Member Dashboard, Member can visit the following member-only functions:
1) Orders
2) Application
3) Addresses
4) Account Details
Section 16: Order History List
On the Order History List section, user can view their order history and order status
within the list. User can click the view button to view the detail of the order.
Section 17: Order History Detail
On the order history detail page, you can find the items of the orders, the number of that
item was purchased, how much it cost, the shipping address, contact person.
Section 18: Course Application
On this page, the member can view the course that they applied to. If the member would
like to view the detail of the course, they can click the URL under the view column.
Section 19: Account Detail
On the Account Detail Page, the member can update their personal information.
Appendix 2: Testing Device Spec
Here is the suggested Device list for completing the UAT:
Desktop:
1) Dell - OptiPlex 3090 Ultra
Price: HK$4,599
CPU: 11th Generation Intel® Core™ i3-1115G4 (2-Core, 6MB Cache, up to 4.1GHz,
15W)
OS: Windows 10 Pro (64bit) English, Simplified Chinese, Traditional Chinese
RAM: 8GB ,1x8GB, DDR4 non ECC memory
Storge: M.2 256GB PCIe NVMe Class 35 Solid State Drive
2) Apple - iPhone 12
Chip: A14 Bionic chip
OS: iOS
Storage: 64GB
t2.micro 1 1 US$0.05/hr
t2.small 1 2 US$0.05/hr
t2.medium 2 4 US$0.05/hr
t2.large 2 8 US$0.05/hr
t2.xlarge 4 16 US$0.05/hr
t2.2xlarge 8 32 US$0.05/hr
Microsoft Azure:
Av2 1 2 US$0.005/hr
F2s v2 2 4 US$0.011/hr
D2 v3 2 8 US$0.013/hr
E2 v3 2 16 US$0.015/hr
Appendix 4: Query Script
1) Login
Input: member_email, password
Output: member_id, member_name
SQL: SELECT member_id, member_name from Member WHERE
member_email = ‘$email’ AND password = MD5(‘$password’);
2) Reset Password
Input: random_password, member_id
SQL: UPDATE Member SET password=MD5(’$rand_password’) WHERE
member_id=’$member_id;
3) Get-Member Information
Input: member_id
Output: member_name, member_email, member_tel, member_address
SQL: SELECT member_name, member_email, member_tel, member_address
FROM Member WHERE member_id = ‘$member_id’;
5) Product Detail:
Input: product_id
Output: product_name, unit_price, stock_qty, description
SQL: SELECT product_name, unit_price, stock_qty, description FROM Product
WHERE product_id= ’$product_id’;
6) Related Meal:
Input product_id
Output: product_id, product_name
SQL: SELECT Product.product_name, Product.product_id FROM Product
WHERE Product.product_id IN (SELECT Product_Ingredients.meal_id FROM
Product_Ingredients WHERE Product_Ingredients.Ingredients_id =
‘$product_id’);
7) Related Ingredients:
Input: product_id
Output: product_id, product_name
SQL: SELECT Product.product_name, Product.product_id FROM Product
WHERE Product.product_id IN (SELECT Product_Ingredients.ingredients_id
FROM Product_Ingredients WHERE Product_Ingredients.meal_id =
‘$product_id’);
Frontend - News & Events Related:
1) Order List
Input: member_id
Output: date, status, sum, item_cnt
SQL: SELECT o.date, o.status, SUM(oi.unit_price*oi.qty) as sum, SUM(oi.qty)
as item_cnt FROM Order o LEFT JOIN Order_item oi ON
oi.order_id=o.order_id WHERE o.member_id=’$member_id’ GROUP_BY
o.order_id ORDER BY o.date DESC
1) Application List
Input: member_id
Output: course_id, course_name, apply_date, status
SQL: SELECT a.apply_date, a.status, c.course_id, c.course_name FROM
Application a LEFT JOIN Course c ON c.course_id = a.course_id;
Backend - Staff Related
1) Login
Input: email, password
Output: staff_id
SQL: SELECT staff_id from Staff WHERE email=’$email’ AND
password=MD5(’$password’);
2) Staff List
Input: page, perpage
Output: staff_name, staff_email, staff_tel, status
SQL: SELECT staff_name, staff_email, staff_tel, status FROM Staff LIMIT
($page-1), $perpage;
3) Staff Detail
Input: staff_id
Output: staff_name, staff_email, staff_tel, status
SQL: SELECT staff_name, staff_email, staff_tel, status FROM Staff WHERE
staff_id=’$staff_id’;
Backend - Member Related:
1) Product List:
Input: page, perpage
Output: product_id, product_name
SQL: SELECT product_id, product_name FROM Product LIMIT ($page-1),
$perpage;
2) Product Detail:
Input: product_id
Output: product_name, unit_price, stock_qty, description
SQL: SELECT product_name, unit_price, stock_qty, description FROM Product
WHERE product_id= ’$product_id’;
Backend - News & Events Related:
1) News List:
Input: page, perpage
Output: news_id, news_name
SQL: SELECT news_id, news_name FROM News LIMIT ($page-1), $perpage;
2) News Detail
Input: news_id
Output: news_name, description
SQL: SELECT news_name, description FROM NEWS WHERE news_id =
‘$news_id’;
Backend - Course Related:
1) Course List:
Input: page, perpage
Output: course_id, course_name
SQL: SELECT course_id, course_name FROM Course LIMIT ($page-1),
$perpage;
2) Course Detail
Input: course_id
Output: course_name, description
SQL: SELECT course_name, description FROM Course WHERE course_id =
‘$course_id’;
Backend - Retail Related:
2) Retail Detail
Input: retail_id
Output: retail_name, description, address, tel, open_hour
SQL: SELECT retail_name, description, address, tel. open_hour FROM Retail
WHERE retail_id = ‘$retail_id’;
Backend - Order Related
1) Order List
Input: page, perpage
Output: date, status, sum, item_cnt
SQL: SELECT o.date, o.status, SUM(oi.unit_price*oi.qty) as sum, SUM(oi.qty)
as item_cnt FROM Order o LEFT JOIN Order_item oi ON
oi.order_id=o.order_id GROUP_BY o.order_id ORDER BY o.date DESC
LIMIT ($page-1), $perpage
1) Application List
Input: page, perpage
Output: course_id, course_name, apply_date, status
SQL: SELECT a.apply_date, a.status, c.course_id, c.course_name FROM
Application a LEFT JOIN Course c ON c.course_id = a.course_id;
Appendix: Reference
1) Php.net. 2021. PHP: Hypertext Preprocessor. [online] Available at
<https://www.php.net> [Accessed 8 February 2021]
2) Mark Otto, a., 2021. Bootstrap. [online] Getbootstrap.com. Available at:
<https://getbootstrap.com/> [Accessed 3 February 2021]
3) Amazon Web Services, Inc. 2021. Amazon Web Services (AWS) - Cloud
Computing Services. [online] Available at: <https://aws.amazon.com/>
[Accessed 7 February 2021].
4) Centos.org. 2021. The CentOS Project. [online] Available at:
<https://www.centos.org/> [Accessed 9 February 2021]
5) Dell. 2021. Dell - The Official Site | Dell Hong Kong. [online] Available at:
<https://www.dell.com/en-hk?~ck=mn> [Accessed 11 February 2021]
6) Azure.microsoft.com. 2021. Cloud Computing Services | Microsoft Azure.
[online] Available at <https://azure.microsoft.com/> [Accessed 12 February
2021].