









































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










































Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Web Project Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Le Nguyen Quang Nam Student ID
Dang Van Anh Tuan GCD201 907 Class GCD1 102 Assessor name Phan Thanh Tra Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Quang Nam Anh Tuan Grading grid P1 M1 D
Summative Feedback: Resubmission Feedback: Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:
Figure 2 : Use-case diagram
Figure 3 : Site map
Figure 5 : All controllers Figure 6 : All templates
In order to leverage Symfony functions, it is necessary to import the libraries that are available in PHP. The entities and repository files were made in order to get the data into the database and connect with it.
Figure 7 : The library used in the Product Controller Figure 8 : The library used in the Registration Controller Figure 9 : The library used in the Security Controller Figure 10 : The library used in the User Controller Figure 11 : The library used in the Product Type
Figure 14 : Product index b. Create new product. We use this source code as a reference and modify it to meet our requirements. We will add new products to our store when we utilize this controller, and definitely, only the admin can do that.
Figure 15 : Product create new c. Show products. This feature was developed to enable customers to view product details. Figure 16 : Show product d. Edit products. The admin can edit the product information thanks to this function.
a. Category Index. This feature makes it easy to search by Category name. Figure 20. Category Index. b. Create new Category. We create new Category, the code is similar with Product. Figure 21. Create new Category. c. Show Category.
Figure 22. Show Category. d. Edit Category. Figure 23. Edit Category. e. Delete Category.
Figure 25 : Register User b. Login User Automatically. By preserving the user's token and allowing users to access anything that was saved again, this method will make it simpler for users to log in.
Figure 26 : Login User
a. Log in & Log out. This function facilitates user login and logout. Figure 27 : Login Figure 28 : Logout b. Security.yaml.