Confirmed users
353
edits
| 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 | |||
retrieval of the views.json structure that is used by different | |||
components. | |||
Bases.js | Bases.js | ||
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/view 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. | |||
BHViewCollection.js | BHViewCollection.js | ||
BHViewCollection Class - Manages operations on a collection of data views using a model/view | |||
including instantiating view collections. | |||
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 | 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. | ||