Auto-tools/Projects/BugHunter: Difference between revisions

Jump to navigation Jump to search
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.
This is not a complete file or class listing but is intended to give a top level description of the OOPish design patterny structure of the bughunter javascript and what the basic functional responsibility of the pages/components/collections are.


'''BughunterPage.js'''
BughunterPage.js  
BughunterPage Class - Manages the DOM ready event, component initialization, and
                      retrieval of the views.json structure that is used by different
                      components.
Bases.js
All Base Classes - Contains the base classes for Page, Component, Model, View etc...


''BughunterPage Class'' - Manages the DOM ready event, the configuration data structure derived from views.json, and component initialization.  
BHViewComponent.js
BHViewComponent Class - Encapsulates the behavior of a single data view using a model and 
                        provides a public interface for data view functionality.  Manages
                        event binding and registration.
BHViewView Class - Encapsulates all DOM interaction required by a data view.
BHViewModel Class - Encapsulates asynchronous server communication and data structure
                    manipulation/retrieval.


'''Bases.js'''
Contains the base classes for Page, Component, Model, View etc...
BHViewCollection.js  
BHViewCollection Class - Manages operations on a collection of data views using a model and view class.
BHViewCollectionView Class - Encapsulates all DOM interaction required by the collection.
BHViewCollectionModel Class - Provides an interface to the datastructures holding all data
                              views and their associated parent/child relationships.


'''BHViewComponent.js'''
DataAdapterCollection.js
 
Manages any idiosyncratic behavior required by data views.
''BHViewComponent Class'' - Encapsulates the behavior of a single data view using a model and view class.
 
''BHViewView Class'' - Encapsulates all DOM interaction required by a data view.
 
''BHViewModel Class'' - Encapsulates asynchronous server communication and data structure manipulation.
 
'''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.


'''ConnectionsComponent.js''' Manages triggering events to open new views.
'''ConnectionsComponent.js''' Manages triggering events to open new views.
Confirmed users
353

edits

Navigation menu