Professional Documents
Culture Documents
University of Greenwich
Introduction
This site allows users to view products, order or lease products online.
On the staff side. The administration system allows staff to perform product management, orders, and
categories such as adding, editing, deleting, searching, returning items, etc.
Project aim
Use roles
Functional Requirements
Success criteria
Conclusions
In summary, the required functions, such as the Manage product, the hire product, are the main functions
of the program. Priority must be given (do first).
1.2 Analysis
Use-case Diagram:
The system has three roles: Guest, Customer and Staff (Admin).
Guest: Get access to product details, add product to cart.
Customer: Get access all of the function of a guest. In addition, the customers are allowed to hire products,
reserved for that product and checkout.
Admin: Can management products, categories, orders and customers in Admin site.
Customer and Admin can log in and log out.
1.3 Design
This section will provide a general overview of the application, the basic design of the system, how the
program operates. This section also covers the main functional design of the system.
Entity Relationship Diagram (ERD)
Class Diagram
Flowcharts
Login:
Create:
Update:
Delete:
Search:
Return Product:
1.4 Implementation
Selected DBMS:
The system use MySQL to store data and management data. Because this DBMS is popular and
MySQL database has become the most popular open source database in the world because of its fast and
stable processing mechanism, high reliability and ease of use.
Some of the advantages of MySQL are instant availability, strong transaction support, reliable web and
data storage, robust data security, and more.
*Customer Role
Homepage:
The system using bootstrap to build the interface of the website.
Product Detail:
Customer can see detail of each product before go to hire product.
Once you have selected the product you like, customers can add products to the basket then pay.
In this cart page, the website will show all of the product that customer was added to cart.
And if Customer want to order that products, they must be login and Proceed to Checkout.
And Place Order, It’s successfully order Product.
*Admin Roles
Login as admin account to access the admin side.
And after login as admin account, the Admin side with display like this:
Admin or staff can management all of the features in the admin side like create a new product, show a detail
product, update and delete each product in the system too easy, they also can search product by name or by
category of that product.
Each Product include three statuses: Unavailable mean product has been hired for customer, Available
mean product in stock and Reserved mean product has been reserved in a short time by customer before
customer go to store and hire product.
Management Product (Create, Read, Update, Delete product).
Create Product:
In the create product form, I was validated some type empty, data format… all of the data input from staff
to be friendly for staff.
Read Product:
This feature allows staff can see detail of each product in the system clearly.
Update Product:
Just like creating a product, the Update feature will show all of the current data of each product to be take
friendly for user.
Delete:
The staff can select exactly one product and delete the product and before product has been deleted, they
dialog confirm will be showing.
Search Product:
The staff can be find some category product or might exactly the product in the system.
Example: I input Sony to search box, all of the product will be showing.
Management Order (Confirmed orders are leased from customers).
After customer press “Place Order” in the cart view. The Order will be save to database and display in the
Order side of the Admin page.
An order has two statuses: Hiring mean the products are being rented and Returned mean the products are
being returned and staff was confirmed.
At Right side, staff can view detail order also confirm the order has hiring status.
After confirm, the hiring status will change from Hiring to Returned and Product status at index side will
change from Unavailable to Available.
The system allow admin and staff can view detail of each User and delete User. Staff cannot delete admin
account, just only can delete customer account.
1.1.2 Test cases
This application is built based on the model of distributed systems. The system can operate in the various
computer and network use to connect with each other. The system can be changed and upgraded.
This application is written in PHP and PHP applications use storm. Use REST web services with the
database. Representational State Transfer (sometimes also written as the ReST) is a style of architecture
used in the communication between computers (PCs and servers of the website) in the management of
resources on the internet.
The company has many stores across the country. They offer the products on the camera and lens. Because
they have many of the products and the number of stores. They wanted to unify their shop system to record
the purchase.
There are two main types of users
- The sales staff: they can manage products, customers and orders
- Customer: They can buy online, online product rental, reservations for a period of time after that to the
store to buy or hire the products they have reservations.
The weak point of the system: the system is written in PHP, a language a language not yet really tight on
security logic, did poorly. If the system raised the very hard to continue to use that language, especially
security problems, it should use the higher level languages such as java script to manipulate or C #.
In the future I will add more functionality for features such as system registered user accounts. directions
for application features, share social network product.
*Test plan
Normal scenario:
ABC company provide hiring cameras and lens services in the city. ABC Company wants to develop a
program that can help them to manage their job. Basically, they want to manage:
- Customer and staff
- Camera and Lens
- Customer can reserve cameras and lens
- Customer can hire cameras and lens based on reservation or at store
- Customer can return hired cameras and lens
*Testing Stage:
In this section, we are going to test some feature of admin and customer.
With admin role, we’re going to test some operations like Create, Read, Update and Delete product, confirm
order of the customer.
With customer role, we’re going to test some operations like add to cart, hire product, reserved product and
login.
* Test result:
Test log ABC Company:
In test case 6: Test case failed because the input data from the user is too long, cannot be saved in the
database. Conventional product name convention less than 255 characters.
In test case 8: Test case fail when user update a product because user leave blank field in the form so that
the system will showing the error and cannot press Update button.
Summarize: My software still has some bugs as well as poor functionality. The invoice management of
the customer is not really detailed. I will develop future applications to be user friendly and easy to use.
1.7 Conclusion
The project has been implemented very well. From the requirements of the user, learn from the
corresponding website to design ideas.
Through the project. We have learned a lot of interesting technologies, the advantages and disadvantages
of each type of technology that we use. From that experience to continue to carry out the next project.
TASK2
2.1 My plan from the beginning:
The system was added a function called Delete Order Detail. When staff delete order. All order in detail in
order will be deleting. This feature is very useful for staff.
It is very convenient for staff. Staffs do not have to delete each order detail then delete order.