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