

















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
WEBG301: Project WEB - Assignment 1 (pass)
Typology: Assignments
1 / 57
This page cannot be seen from the preview
Don't miss anything!


















































Qualification BTEC Level 5 HND Diploma in Computing Unit number and title WEBG301: WEB Project Submission date Aug 15th, 2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name
Class GCS0905C Assessor name Phan Minh Tam 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 HUY Grading grid P M D
Chapter 2: Literature Review
There are several software lifecycle development models available today, with three typical SDLC techniques being the waterfall methodology, iterative development, and component-based software engineering. In this study, our team will explain the techniques as well as discuss some of the reasons for their creation.
The Software Development Life Cycle (SDLC) model is a conceptual framework for project management that delineates each stage of a software development project, from planning to maintenance. This process is tied to several models, each of which includes a variety of duties and actions. It typically consists of six steps: ideation and planning, requirements collecting, design and prototyping, software development, testing and integration, implementation and deployment, and operation and maintenance. Depending on the size of the project, some project managers may combine, divide, or omit processes.
2.2.1. Waterfall Model
The Waterfall Paradigm is a sequential model for software development that separates it into pre- defined phases. Each phase must be completed before moving on to the next, with no gaps between them. Each phase is meant to accomplish a particular activity during the SDLC phase. Winston Royce first debuted it in 1970.
2.2.4. Prototyping model
Our team chose to use the waterfall mode because this is a small project with few complicated functions. The reason why our team chose this model is that:
Model : The component that represents all the data-related logic that a user interacts with is called the model. This might be supplementary data relating to business logic or the data being communicated between the View and Controller components. For instance, a customer object will retrieve customer information from a database, modify it, and either use it to render data or return it to the database. View : The application's UI logic is handled by the View component. For instance, the Customer view will have all of the UI elements, such as text boxes, dropdowns, and other controls, that the end user interacts with. Controllers : Operate as a bridge between the Model and View components, handling all business logic and incoming requests, altering data using the Model, and interacting with the Views to generate the result. The customer model is used to update the database, and the customer controller, for instance, will manage all interactions and inputs from the customer view. Using the same controller, the customer data will be shown. Advantages Disadvantages
they are carefully tested for quality and performance. ✓ Less code is needed - When framework functions are utilized, writing original code is not as necessary. ✓ Libraries for common activities - Creating applications involves many repeated procedures, such as data cleaning, validation, and CRUD operations. Frameworks make it possible to carry out these simple actions by using built-in functionalities. ✓ Following best practices - PHP frameworks frequently follow best practices, such as adopting correct naming conventions and arranging code in a neat and manageable way. ✓ More secure – Using PHP frameworks lowers the risk of threats like SQL injection and cross-site scripting. In excellent PHP frameworks, built-in precautions defend against such common dangers. ✓ Collaboration is possible because using frameworks creates clear project guidelines that are simple for developers to adopt and collaborate on. ✓ Better maintainability: PHP frameworks help to create leaner, more maintainable code bases. The framework's designers are also in charge of maintaining the main framework. 4.3. Common PHP Frameworks In order of popularity and capability to enable speedy application development, the following are some of the top PHP frameworks:
functions, clients or application programs can communicate with the database server (MySQL).
6. Techniques and Tools Name Tool or Techniques used to XAMPP Tool Database management virtual machine VS CODE Write the source code of the system. WebPHP Font-end design for the system PHPstorm Write the source code of the database MySQL WorkbenGitHubch Write the source code of the database Share code, exchange to find programming direction HTML 5 Technique Programming languages used to design interfaces CSS Programming languages used to design interfaces PHP The programming language used to write the source code for the features in the system JavaScript The programming language used to write the source code for the features in the system Laravel Framework for programming support Ajax The programming language used to write the source code for the features in the system to store the session Bootstrap Align your website to be compatible with different devices such as smartphones, tablets,...
Chapter 3 : Requirements Analysis
1. User’s requirements User Story Functional or Non-functional Customer or Admin Roles Explanation I want to use a website that has an appealing appearance and feel since I am a consumer. The website's text, graphics, and other content should all be understandable and crystal clear. Non-functional Customer Roles This is really significant since it affects how website users feel about their experiences. A website that is appealing, accessible, intuitive, and easy to use may improve user experience and draw in more visitors. I want my program to encrypt the login credentials when a new user is created as the operation manager in order to protect everyone's information. Admin Roles This feature is a crucial development for cyber security. The encrypted data would shield the system against brute force attacks for hundreds of years if a hacker managed to sneak past the firewall and gain access. If I request a purchase as a customer, I want the website to take me to the login request page if I'm not currently signed Functional Customer Roles Each shopping cart has a specific customer profile attached to it. Therefore, the user must first log in with a customer account before adding an item to the cart. The user should visit the checkout page after
administrator. Additionally, incorporating "Controller" sites with UI makes it easier for the administrator to complete the task while using them. I want the admin page to have a login and logout button so that as an admin, I can't access it without logging in. Admin Roles This feature would make it easier for administrators to access the administrative features from the homepage. In addition to the delete, update, insert, and choose options, I as an admin also want the administration page. If the admin chooses not to display items in the user interface, I also want options that will prevent categories, brands, suppliers, or products from appearing. Admin Roles This feature aids the administrator in conducting thorough administration of the user interface and product information. I want some information about a product to show when my mouse is over an image of it. Admin Roles The product index page's list of items would only include images of the products; adding this feature would allow users to learn more about the products without overcrowding the page with text and detracting from the website's aesthetics.
2. Use case diagram 2.1. Use case 2.2. Use Case specification 2.2.1. UC- 1 User case name: User Sign up ID: UC- 1 Priority: High The use case description is as follows : the user want to log into the system in order to access particular features. Actor: User