Confirmed users
353
edits
| Line 244: | Line 244: | ||
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 OOP 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, the configuration data structure derived from views.json, and component initialization. | ||
'''BHViewComponent.js''' Encapsulates the behavior of a single data view using a model and view class. | '''Bases.js''' | ||
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 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. | '''BHViewCollection.js''' Encapsulates managing a collection of data views using a model and view class. | ||