Auto-tools/Projects/BugHunter: Difference between revisions

Line 242: Line 242:


==== Class Structure ====
==== Class Structure ====
This is not a complete file or class listing but is intended to give a top level description of the OOP structure of the bughunter javascript and what the basic functional responsibility of the pages/components/collections are.


'''BughunterPage.js:''' Manages the DOM ready event, the configuration data structure derived from views.json, and component initialization.  
'''BughunterPage.js:''' Manages the DOM ready event, the configuration data structure derived from views.json, and component initialization.  
'''Bases.js''' Contains the base classes for Page, Component, Model, View etc...
'''Bases.js''' Contains the base classes for Page, Component, Model, View etc...
'''BHViewComponent.js''' Encapsulates the behavior of a single data view using a model and view class.
'''BHViewComponent.js''' Encapsulates the behavior of a single data view using a model and view class.
'''BHViewCollection.js''' Encapsulates managing a collection of data views using a model and view class.
'''BHViewCollection.js''' Encapsulates managing a collection of data views using a model and view class.
'''DataAdapterCollection.js''' Manages any idiosyncratic behavior required by data views.
'''DataAdapterCollection.js''' Manages any idiosyncratic behavior required by data views.
'''ConnectionsComponent.js''' Manages triggering events to open new views.
'''ConnectionsComponent.js''' Manages triggering events to open new views.
'''VisualizationCollection.js''' Holds a collection of classes that can represent data views graphically.
'''VisualizationCollection.js''' Holds a collection of classes that can represent data views graphically.
'''HelpPage.js''' Encapsulates the behavior of the bughunter help pages.
'''HelpPage.js''' Encapsulates the behavior of the bughunter help pages.


Confirmed users
353

edits