Team Activity - Deleting Data
Working as a Team
This activity is designed to be completed as a team. There are two main purposes for this:
- Develop as a Professional: One of the course outcomes for this course is for you to develop your professionalism and ability to work as an effective team member. This is also a major outcome of the complete program, and it is a skill that employers consistently list as one of the most important traits they are looking for.
- Teach one Another: One of the core principles of the BYU-Idaho learning model is to love, serve, and teach one another. By working together, you will learn this material better as you share your new understanding and learn from your teammates.
Instructions
Follow each of the steps described below. Each person should individually implement the code in their own files, but you should go through each step together, helping one another as needed.
Discussion Questions
There are several places in this activity that ask you to discuss questions as a team. The Lead Student should ask the question and then you should discuss the question together. Please note that you will need to respond to each of these questions in a quiz at the end of this activity.
Take time to help each other
Remember that each person will complete these steps for their own server. But do not proceed to the next step until each person has successfully completed the task.
Prepare for the meeting
Prepare for the team meeting by doing the following prior to the meeting:
- Complete your personal learning activities.
- Verify with your team when you will be meeting and who will be the lead student.
Begin with Prayer
Review the Learning Activities
Discuss:
- What was the hardest part of the learning activity?
Deleting Data
Work together as you each individually complete the following:
- Complete: Delete an inventory item
Discuss:
- What would happen if you forgot to include a parameter for the
inv_id
in yourget
orpost
routes? - When a request is made to
/inv/delete/172
, How does the server know whether to deliver the confirmation view or to actually perform the delete? - Which is responsible for actually deleting the data from the database, the model, view, or controller?
- If the delete fails, what information should be send back from the server?
Conclude
As you finish your team meeting, make sure to determine the person that will be the lead student for the next meeting.
Submission
At the end of your team activity, each person needs to individually do the following:
- Make sure your database is working as described in these activities.
- Return to Canvas to take the team activity quiz.
Up Next
Other Links:
- Return to: Week Overview | Course Home