Question
Following on from last week's discussion topic, your company has decided to proceed with the project to create a web application to track customer complaints.
Following on from last week's discussion topic, your company has decided to proceed with the project to create a web application to track customer complaints. Based on the team's proposal, they've come up with some requirements to base your continued analysis on:
A web application that is written in PHP using a MySQL database
The security concern is internal only - the application will be hosted on and only accessible through the company's internal network
The application needs the following capabilities:
Login
View open complaints
Add complaints
Edit complaints
Search/Filter complaints
Your task is to analyze these requirements and come up with a generalized design for the PHP code that describes how you would organize the code for the application and what aspects you would consider modularizing (writing functions for).
In your original post, answer the following:
Would you organize your code into a single folder or multiple folders? Please explain your choice.
What capabilities would you write functions for (modularize) as opposed to simply having PHP code embedded with your display code? Explain your reasoning.
Would you include your functions in the PHP file in which they are used or would you store them in a separate file that you included as required? Explain the benefits of your approach.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started