NIT1204 Developing A PHP Web Application For Management Of Shopping List Assessment Answer

pages Pages: 4word Words: 890

Question :

Victoria UniversityNIT1204 Web Application and Server ManagementGroup assignment:

This is a group assignment to be completed in a group of two.

Description of task:

This project will be a comprehensive Web site that demonstrates application of many of the PHP concepts covered in this unit.

You are required to develop a PHP web application to manage a shopping list i.e. Shopping List Manager application. This application does not require items to be stored in a database, the items are lost when the user closes the application.

Create a user interface

The user interface for the Shopping List Manager shows the items at the top of the web page in a numbered list. The user interface also includes an add form that lets the user add a new item to the list, and it includes a delete form that lets the user delete an item from the list.

Please note that the given screenshots are sample only.

When the application runs for the first time

Figure 1: When the application runs for the first time

After adding two items in the shopping list

Figure 2: After adding two items in the shopping list

Implement Add, Delete and Modify Buttons

Implement “Add Item” button which is used to add shopping items in the list. Delete button is to delete the selected shopping item. Use the array_push() function to add a new item to the list. “Modify Item” button lets the user modify an existing item. If the user clicks on the Modify Item button, this code should hide the form that contains the Modify Item button, and it should display the form that displays the current item in a text box and includes buttons that lets users save or cancel their changes.

When you click modify item

Figure 3. When you click modify item

After you click, Save Changes, the item is updated and the page looks like as in the Figure 4.

 After you update an item

Figure 4: After you update an item

Implement the Sort Item button

Implement that code that allows a user to sort all items alphabetically. The Sort button should be displayed only if the item list contains two or more items.

Test the application

Test your application to make sure that everything works correctly.

What to submit:

1. A cover page (A4 format) - displaying course code, course name, assignment title and student id with student's signature.

2. Student contribution report with meeting minutes

3. Documentation including installation/usage instructions, source code and test report with test cases and an acknowledgement for source of external resources etc.

4. Upload a zip file (assign folder with all PHP, Style Sheet, and Images folder if applicable)

Show More

Answer :

For solution, connect with our online professionals.