0% found this document useful (0 votes)
2 views1 page

Object Oriented Programming _ In-class Assignment 3

Uploaded by

yehara nethsilu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
2 views1 page

Object Oriented Programming _ In-class Assignment 3

Uploaded by

yehara nethsilu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

Object Oriented Programming (IST1033) | In-class Assignment 3

Time : 3 Hour

Implement the Update operation in a simple MVC-based web application for managing a
"Student" entity. The "Student" entity should have attributes like StudentID, Name, Email, and
Course. Your task is to:

1. Model: Define the Student model class with appropriate attributes.


2. Controller: Create a method in the controller that:
a. Retrieves an existing student record based on StudentID.
b. Updates the student’s Name, Email, and Course with the new data provided.
c. Saves the updated record back to the database.
3. View: Design a form that allows users to input the new data for an existing student and
submit it to the controller.
4. Extend the implementation to include success and error messages that inform the user
whether the update was successful or if an error occurred.

Expected Deliverables:

● The Student model, Controller and View classes.


● The Singleton DB connection Class.

No detailed UI design is needed, implement a simple UI with required functions.

You might also like