Skip to content

A10: Flask CRud

Taking the CR in CRUD (Create and Read) to FLASK
Week 10 Assignment – Due 3/26/2024 – Beginning of Class
50 points

Overview:
Assignment 10 is a critical phase in the development of your Flask web application, where you will implement the ‘Create’ and ‘Read’ functionalities (CR) of the CRUD (Create, Read, Update, Delete) operations. This assignment involves adapting the CR functionalities from your original Tkinter application to the web environment, utilizing the Flask framework and MySQL database. The focus is on enabling users to add new data (Create) and view existing data (Read) through the web interface, thereby making your application interactive and dynamic.

Objectives:
  • Adapt and implement the ‘Create’ and ‘Read’ functionalities from the Tkinter application to the Flask web application.
  • Ensure seamless interaction between the web interface and the MySQL database for these operations.
  • Develop user-friendly forms and pages for data entry and data display.

Deliverables:
  1. Web Implementation of ‘Create’ Functionality
    • Description: Develop a web-based interface for adding new data to the MySQL database. This typically involves creating forms for data input and handling form submissions on the server side.
    • Requirements: The data entry interface should be user-friendly, and the application should correctly process and store the data in the MySQL database.
  2. Web Implementation of ‘Read’ Functionality
    • Description: Create pages or components in your Flask application that retrieve and display data from the MySQL database. This could include data tables, lists, or detailed views of specific records.
    • Requirements: The data should be presented in a clear, organized manner. Ensure efficient data retrieval and proper handling of any database interactions.

Submission Guidelines:
  • Submit the updated source code for the Flask application, including all relevant HTML, CSS, Python files, and database scripts.

Evaluation Criteria (50 points):
  • Successful implementation and integration of the ‘Create’ and ‘Read’ functionalities in the web application.
  • User-friendliness and efficiency of the data entry and data display interfaces.