Contents

Object Model

It represents a WormBase object, uniquely identified by a class and an WormBase ID.
A Widget Collection is associated to each Object Model.

Widget Model

It represents a Widget. It must be always initialized with a 'parent' property which should be set to the Widget Collection it belongs to, in order to handle the fetching of the widget content from the API properly.

Search Result Entry Model

It simply represents a single search result item. This model is a standard Backbone Model object without any other customization.