Previous | Next
WireHose Developers Guide

Fetchers

Fetchers fetch resources from a remote source, such as a database or web service. Fetches are considered expensive operations, so fetchers cache the results of their fetches.

WireHose provides several classes which work together to fetch and cache objects, and uses notifications to ensure that caches are invalidated when necessary. Often when working with fetchers, you will be fetching objects which support a particular interface such as WHTaggable, so fetchers provide methods to filter the returned objects based on entity or interface names.

There are several types of fetchers which act as channels for users. The most commonly used fetchers in WireHose are those that retrieve taggable and indexable objects based on optional and required tags and keywords.


Previous | Next