CSC/ECE 517 Fall 2014/oss E1463 vpd

From Expertiza_Wiki
Revision as of 00:39, 1 November 2014 by Sfernan2 (talk | contribs)
Jump to navigation Jump to search

E1463: Refactoring TreeDisplayController

Project Links

Our Expertiza Fork on AWS
Github Repo
Project Running on AWS
Admin Account:
Username: user2
Password: password


Project Description

For this project, our team refactored the TreeDisplayController class in the Expertiza OSS project. This class provides access to questionnaires, review rubrics, author feedback, courses, assignments, and course evaluations. The tree display lists all of these categories with the ability for the user to "drill down" into the subcategories or just expand/collapse as needed.

Example Image Of Tree Display:

Refactoring TreeDisplayController Tasks

combined all of the goto methods

Use Routing Helpers

We refactored the treedisplay controller class to use route helpers rather than calling ":action => 'list', :controller => 'tree_display'", or something similar. This involved many edits in the tree_display_controller.rb file and related controller and view files. Our Github repo shows all the changes made.

Example -- Route helpers added to breadcrumbs view file:

only use 1 instance variable in list method

look at the rest of the methods

Summary and Conclusions

Future Work