CSC/ECE 517 Fall 2014/oss E1463 vpd: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
'''Example Image Of Tree Display:
'''Example Image Of Tree Display:
'''
'''
[[File:Expertiza.PNG ]]


=Refactoring TreeDisplayController Tasks=
=Refactoring TreeDisplayController Tasks=
Line 21: Line 22:


Route helpers added to breadcrumbs view file:
Route helpers added to breadcrumbs view file:
[[File:Expertiza.PNG ]]
[[File:routehelpers.PNG ]]


==only use 1 instance variable in list method==
==only use 1 instance variable in list method==

Revision as of 22:52, 31 October 2014

E1463: Refactoring TreeDisplayController

Project Links

Our Expertiza Fork on AWS
Github Repo

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 similiar.

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