CSC517 Spring 2019/E1923 New Framework For Import/Export: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
Most imports and exports just import or export a single table.  But sometimes exports involve “details.”  For example, when questionnaires are imported or exported, the “advice” (guidelines on what characteristics of work merit each score) may be imported or exported along with the questionnaire.  I suspect that all instances of import/export of multiple tables are called “details” in the current code.  Provide a mechanism so that “details” can be imported or exported along with the main table involved.
Most imports and exports just import or export a single table.  But sometimes exports involve “details.”  For example, when questionnaires are imported or exported, the “advice” (guidelines on what characteristics of work merit each score) may be imported or exported along with the questionnaire.  I suspect that all instances of import/export of multiple tables are called “details” in the current code.  Provide a mechanism so that “details” can be imported or exported along with the main table involved.


== Proposed Design ==
== Existing Import Functionality ==
 
 
 
Controllers
*'''import_file_controller'''
*'''questionnaires_controller'''
 
Helpers
*'''import_file_helper'''
*'''import_topics_helper'''
*'''questionnaire_helper'''
 
Models
*'''assignment_participant'''
*'''assignment_team'''
*'''course_participant'''
*'''course_team'''
*'''team'''
*'''metareview_response_map'''
*'''question'''
*'''review_response_map'''
*'''sign_up_sheet'''
*'''sign_up_topic'''
*'''user'''

Revision as of 13:47, 7 April 2019

Project Introduction

Team

  • Veeha Khanna, vkhanna
  • Randy Paluszkiewicz, rpalusz
  • Drew Marshburn, rdmarshb
  • Andrew Miller, asmille5

Description of Project

What it does: The export/import feature is the most helpful feature for instructors to set up assignments. The instructors usually have a list of students, teams, etc from their learning management system. Being able to export/import these into expertiza saves a lot of time when setting up an assignment.


What should be done: Expertiza provides multiple export and import features for eg. export students, teams etc. Essentially what it does is it fetches some data from database and save it as a file in desired format. However, same functionality is implemented multiple times for exporting and importing different things. The aim of this project is to design a generic export/import feature. What you need to do is implement a framework which supports exporting and importing functionality based on input. There are substantial degrees of freedom in this project. You need to design the module which will take the database table names, column names from which data needs to be exported or the imported into. So that this module can be used for every export/import feature that expertiza provides. Most imports and exports just import or export a single table. But sometimes exports involve “details.” For example, when questionnaires are imported or exported, the “advice” (guidelines on what characteristics of work merit each score) may be imported or exported along with the questionnaire. I suspect that all instances of import/export of multiple tables are called “details” in the current code. Provide a mechanism so that “details” can be imported or exported along with the main table involved.

Existing Import Functionality

Controllers

  • import_file_controller
  • questionnaires_controller

Helpers

  • import_file_helper
  • import_topics_helper
  • questionnaire_helper

Models

  • assignment_participant
  • assignment_team
  • course_participant
  • course_team
  • team
  • metareview_response_map
  • question
  • review_response_map
  • sign_up_sheet
  • sign_up_topic
  • user