Agenda
- Task: Writing Database Views
- Now that your group has setup the database for your group’s app, the next step is to show live data from that database within your app.
- Review the steps required to connect your group’s app to your Supabase database.
- Then, work together with your group members to identify the best user interface view (or screen within your app) to start with – write a database view to query, then a model, and then a view model to retrieve information for that screen.
- Remember, use the example given, with guidance from Mr. Gordon as needed, to complete this step today.
TIP
An issue should be created within your group’s GitHub project to cover this work. Remember to follow the appropriate steps for using source control within a group.
Use the driver-navigator pattern – one group member write(s) the code as the driver, the other group member(s) serve as the navigator.
Mr. Gordon will ask groups to change the roles (driver vs. navigator) every 10 minutes.
REMINDER
A test on other topics we have looked at in this thread occurs tomorrow (Thursday) in class.
Prepare by having finished the assigned modules on Khan Academy and the related quizzes.
As a final check for your understanding, try this quiz in AP Classroom.
Things to do before our next class
- Get a view within your group’s app pulling live data from your database today.
- Prepare for tomorrow’s multiple-choice test.