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 OOPish design patterny 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.  See the README for more details.


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


   
   
  BHViewComponent.js  
  BHViewComponent.js  
BHViewComponent Class - Encapsulates the behavior of a single data view using a model and   
    BHViewComponent Class - Encapsulates the behavior of a single data view using a model/view and   
                        provides a public interface for data view functionality.  Manages
                            provides a public interface for data view functionality.  Manages
                        event binding and registration.
                            event binding and registration.
BHViewView Class - Encapsulates all DOM interaction required by a data view.
    BHViewView Class - Encapsulates all DOM interaction required by a data view.
BHViewModel Class - Encapsulates asynchronous server communication and data structure
    BHViewModel Class - Encapsulates asynchronous server communication and data structure
                    manipulation/retrieval.
                        manipulation/retrieval.


   
   
  BHViewCollection.js  
  BHViewCollection.js  
BHViewCollection Class - Manages operations on a collection of data views using a model and view class.
    BHViewCollection Class - Manages operations on a collection of data views using a model/view
BHViewCollectionView Class - Encapsulates all DOM interaction required by the collection.
                            including instantiating view collections.
BHViewCollectionModel Class - Provides an interface to the datastructures holding all data
                         
                              views and their associated parent/child relationships.
    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.


  DataAdapterCollection.js
  DataAdapterCollection.js
  Manages any idiosyncratic behavior required by data views.
    DataAdapterCollection Class - Collection of BHViewAdapter class instances.
    BHViewAdapter Class - Base class for all BHViewAdapters. Manages shared view idiosyncratic
                          behavior like what fields go in the control panel and how to
                          populate/retrieve them for signaling behavior.
    CrashesAdapter Class - Encapsulates unique behavior for crash data views.
    UrlAdapter Class - Encapsulates unique behavior for views containing URL summaries.


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

edits

Navigation menu