assignment 1649 Web design for Pass, Assignments of Information Technology

assignment 1649 Web design for Pass

Typology: Assignments

2022/2023

Uploaded on 09/30/2023

nguyen-van-truong-fgw-hn
nguyen-van-truong-fgw-hn 🇻🇳

5

(1)

19 documents

1 / 29

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
GROUP PROJECT FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
WEBG301 - Project Web
Submission date
28?08/2023
Date Received 1st submission
29/08/2023
Re-submission Date
Date Received 2nd submission
Student Name
Nguyễn Văn Trường
Student ID
CCH211359
Class
GCH1107
Assessor name
Li Mạnh Dũng
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
Trường
Grade
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download assignment 1649 Web design for Pass and more Assignments Information Technology in PDF only on Docsity!

GROUP PROJECT FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title WEBG301 - Project Web Submission date 28?08/2023 Date Received 1st submission 29/08/ Re-submission Date Date Received 2nd submission Student Name Nguyễn Văn Trường Student ID CCH Class GCH1107 Assessor name Lại Mạnh Dũng 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 Trường Grade

Summative Feedback:Resubmission Feedback: Grade: Assessor Signature: Date: Signature & Date:

Chapter 1 – Users’ Requirements (Group)

  • Shop Clothes is a store specializing in selling modern clothes in line with current youth trends, we are committed to ensuring you always have an enjoyable and convenient shopping experience. The two main roles in the system will be user and administrator. As consumers, they can:
  • View the site's basic information, products that are offered, price, and other details. In their capacity as an administrator, they can:
  • New products and categories can be added to the system.
  • Edit existing item information and Delete products and categories.
  • Colors and suppliers are also added to the system and it is also possible to edit and delete them.

Chapter 2 – System Design (Group)

2.1 Site map

Figure 1 Sitemap

2.2 Entity Relationship Diagram

Figure 2 ERD

Categories table includes primary key named Category_id and Category_name, this table has the effect of dividing categories by product. The color table includes color_id as the primary key and color_name, color_code, this table has the effect of dividing the color for each product. The provider table includes provider_id as the primary key and provider_name, this table has the effect of checking each product is provided by which provider. The products table plays a pivotal role in managing products and encompasses various attributes. These consist of product_id serving as the primary key, along with product name, price, description, size, and quantity. Additionally, it incorporates foreign key relationships: Category_id establishes a connection with the category table, signifying a one-to-many relationship where numerous products fall under a single category. Similarly, color_id forms a linkage with the color table in a one-to-many arrangement, where multiple products share the same color. Lastly, Provider_id acts as a foreign key, connecting with the supplier table in a one-to-many relationship, signifying that a single supplier can provide multiple products.

b. Project Structure

- ProductController Figure 3 Source code productController Run the Laravel php artisan make:controller ProductController to create ProductController. ProductController allows users can see the product, about, and product details.

Figure 4 Source code template homepage The HomeTemplate is designed to showcase various products prominently on the homepage. It presents comprehensive product information directly on the website, allowing visitors to easily engage with the displayed items. By clicking on either the "View Details" button or the product image, users can access more in-depth information about the product. This action will trigger a process that is executed through an external file, enabling a seamless transition to the detailed product view.

Figure 6 Source AdminController

Figure 7 Source AdminController

Figure 8 4 Source code template editproduct Editproduct page the data is transferred when admin presses edit, after editing is done admin press submit edited data will be transmitted and display changed data with the message ''Edit product Successful''.

Figure 9 Source model product The Products Entity outlines the necessary functionalities that need to be present within the Products database. This entity has been generated in Laravel using the command "php artisan make:model Product". It encompasses a range of attributes, including product_id, product_name, price, image, size, description, quantity, Category_id, Color_id, and provider_id. These attributes collectively define the characteristics and details associated with each product.

Figure 11 Homepage

Figure 12 Homepage