Docsity

webg301 group asm inventory management, Assignments of Web Design and Development

Toggle sidebar
bg1
GROUP PROJECT FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
WEBG301 - Project Web
Submission date
Date Received 1st
submission
Re-submission Date
Date Received 2nd
submission
Student Name
Dinh Nguyen Gia Khanh
Student ID
GCH210153
Class
Assessor name
Nguyen Dinh Tran Long
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
Grade
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
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e

Partial preview of the text

Download webg301 group asm inventory management and more Assignments Web Design and Development 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 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Dinh Nguyen Gia Khanh Student ID

GCH

Class Assessor name Nguyen Dinh Tran Long 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 Grade

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date: Signature & Date:

Part 1 – Users’ requirements (GROUP)

Itroduction

  • The Thanhpham Shop is a store that specializes in selling technology devices such as cellphones. The two primary roles in the system will be users and administrators. As consumers, they can:
  • View the site's basic information, products that are offered, price, and other details.
  • Log in to the website and make a new account.
  • Establish order. In their capacity as an administrator, they can:
  • New products might be added to the system.
  • Edit existing item information and Delete things.

1.1 User Stories template

Figure 1: user stories template

Figure 3: Admin diagram

Part 2 – System Design (GROUP)

2.1 Sitemap

Figure 5:sitemap

  • In order to access the home screen, users must login or if they have not created an account, register. When they reach the homepage, it will present them with multiple options: search option, list of categories, view the shopping cart or view the shop’s contact information.
  • Search: when typing a keyword, the website will reveal items that have that specific keyword. If there are not any items that possess the keywords that the user had typed, the item slot will be empty
  • Category: This consists of multiple smaller categories including: Phone model, Color, Store, Producer. When selecting one of these categories, the website will present a list containing elements, for example: when selecting the Color category, the shop will show a bunch of colors that the phones have.
  • Shopping cart: when adding a product to the cart, the user will be automatically redirected to the cart page with that item. If they have not added a product, the cart will show emptied.
  • Contact: this will simply show the contact information of the admins and manufacturer

2.3 wireframes

  • Here are all the wireframes of our website Figure 7: login (for both users and admin) wireframes

Figure 8 : landing page

Figure 10: cart

Figure 11: manufacturer list admin page include edit add delete

Figure 13: store list admin page include edit add delete

Figure 14: color list admin page include edit add delete

Figure 16: edit phone admin page

Part 3 – System Implementation (INDIVIDUAL)

I. Sample Source Code.

3.1.1. Introduce about MVC design pattern in Symfony, how it was applied in

my project

  • Symfony is based on the classic web design pattern known as the MVC architecture, which consists of three levels:
  • The Model represents the information on which the application operates--its business logic.
  • The View renders the model into a web page suitable for interaction with the user.
  • The Controller responds to user actions and invokes changes on the model or view as appropriate.
  • The MVC architecture separates the business logic (model) and the presentation (view), resulting in greater maintainability. For instance, if your application should run on both standard web browsers and handheld devices, you just need a new view; you can keep the original controller and model. The controller helps to hide the detail of the protocol used for the request (HTTP, console mode, mail, and so on) from the model and the view. And the model abstracts the logic of the data, which makes the view and the action independent of, for instance, the type of database used by the application.
  • The models(entities) interacts with request from input fields such as when adding a new Student or adding a new Class
  • The view(template) pull data from the database and translate it into the view, for example when pulling the name of a
  • How is MVC applied in my project
  • The controller take HTTP requests, for example when navigating to different pages of the website using the tags on thenavbar
  • Send reponses back to the user