Docsity

BTEC Level 5 HND Diploma in Computing: Assignment 1 - Website Development, Exercises of Agricultural Mathematics

Toggle sidebar
bg1
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title
Submission date 10 July 2022 Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name
Student 1 Lê Thanh Nhật Hưng
Student ID
Student 1 GCD210330
Student 2 Ngô Trí Tài Student 2 GCS210409
Class GCD0901 Assessor name Phan Thanh Trà
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 Dung - Khanh
Grading grid Individual Grading Grid
Grade (0-10)
Student 1 Student 2
Grade (0-10) Grade (0-10)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26

Partial preview of the text

Download BTEC Level 5 HND Diploma in Computing: Assignment 1 - Website Development and more Exercises Agricultural Mathematics in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing

Unit number and title

Submission date 10 July 2022 Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student Name

Student 1 Lê Thanh Nhật Hưng

Student ID

Student 1 GCD

Student 2 Ngô Trí Tài Student 2 GCS

Class GCD0901 Assessor name Phan Thanh Trà

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 Dung - Khanh

Grading grid Individual Grading Grid

Grade (0-10) Student 1 Student 2

Grade (0-10) Grade (0-10)

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date:

IV Signature:

CONTENTS

  • I. Users’ requirements.......................................................................................................................................................
  • II. System Design................................................................................................................................................................
      1. Site map.....................................................................................................................................................................
      1. Entity Relationship Diagram.......................................................................................................................................
  • III. Implementation............................................................................................................................................................
      1. Sample Source Code..................................................................................................................................................
      1. Images of final Application.......................................................................................................................................
      1. GitHub Repository evidence....................................................................................................................................
  • IV. Conclusion..................................................................................................................................................................
      1. What went well........................................................................................................................................................
      1. What did not go well................................................................................................................................................
      1. Lessons learned and further improvements............................................................................................................

FIGURES Figure 1: SITE MAP ........................................................................................................................................ 4 Figure 2: ENTITY RELATIONSHIP DIAGRAM................................................................................................... 5 Figure 3: CONTROLLER – Contact.................................................................................................................. 5 Figure 4: CONTROLLER - Inventory ............................................................................................................... 6 Figure 5: CONTROLLER - Login ...................................................................................................................... 6 Figure 6: CONTROLLER

  • Products ............................................................................................................... 7 Figure 7: CONTROLLER – Registration........................................................................................................... 7 Figure 8: CONTROLLER – Security ................................................................................................................. 8 Figure 9: ENTITY – Album ............................................................................................................................. 8 Figure 10: ENTITY – Shirt .............................................................................................................................. 9 Figure 11: ENTITY
  • User ............................................................................................................................ 10 Figure 12: TWIG
  • Home Page ..................................................................................................................... 10 Figure 13: TWIG - Contact Page .................................................................................................................. 11 Figure 14: TWIG - Inventory Page ............................................................................................................... 11 Figure 15: TWIG - Album Storage ............................................................................................................... 12 Figure 16: TWIG - Shirt Storage................................................................................................................... 12 Figure 17: TWIG - Album Insertion ............................................................................................................. 13 Figure 18: TWIG
  • Album Product Card ....................................................................................................... 13 Figure 19: TWIG - Album Details Update .................................................................................................... 14 Figure 20: TWIG - Shirt Insertion ................................................................................................................ 14 Figure 21: TWIG - Shirt Product Card .......................................................................................................... 15 Figure 22: TWIG - Shirt Details Update ....................................................................................................... 15 Figure 23: APPLICATION - Home Page ........................................................................................................ 16 Figure 24: APPLICATION - Contact Page ..................................................................................................... 16 Figure 25: APPLICATION - Login Page ......................................................................................................... 17 Figure 26: APPLICATION - Register Page ..................................................................................................... 17 Figure 27: APPLICATION
  • Inventory Page .................................................................................................. 18 Figure 28: APPLICATION – Albums Inventory ............................................................................................. 18 Figure 29: APPLICATION - Album Insertion Page ........................................................................................ 19 Figure 30: APPLICATION – Album Product Card ......................................................................................... 19 Figure 31: APPLICATION - Album Detail Update ......................................................................................... 19 Figure 32: APPLICATION - Shirts Inventory ................................................................................................. 20 Figure 33: APPLICATION –

I. Users’ requirements

As a user, I want the following:

  • The library should be managed so that the website is simple to administer.
  • The website interface should be lovely and distinctive.
  • There should be functions that perform effectively so that the administration process is not

challenging.

II. System Design

1. Site map

Figure 1: SITE MAP

  1. Entity Relationship Diagram Figure 2: ENTITY RELATIONSHIP DIAGRAM

III. Implementation

1. Sample Source Code

Figure 3: Data - AdminData

By directing the website to the twig file that contains the view of the contact page and

displays it, it is possible to create the route that leads to the contact page of this website.

Figure 6: Data – Phieumuon

This product includes several routes and functions that may be used with each twig file in

the templates' products folder. Initially, it has a route for goods that leads to the products page.

From there, two pages employing two separate routes—the pages for shirts and albums—are

linked. The routes to various pages, including the edit page, insert page, and display detail page,

as well as the routes needed to start the CRUD function and provide data to the twig file, will be

contained in these two pages.

Figure 7: Data – Sach

This Khachhang is used to develop the registration form and to register a new user in the

database using the information obtained from it. The user is further redirected using this to the

registration page's twig file.

Figure 9: Object – KhachHang

This object was created to contain admin data for the website. This entity is automatically

transferred to a local database thanks to Symfony support, allowing us to store administrative

data in admindata.

Figure 10: Object – PhieuMuon

It was developed to compile information on the number of patrons and the amount of

books that were checked out from the library.