Grendel:Specification:Filters: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
The Filters and Views can be chained, and then supplied to an Action. | The Filters and Views can be chained, and then supplied to an Action. | ||
== Spam == | |||
A Spam "Filters" is a special kind of Filter (It returns the Message List containing only Spam) | |||
== References == | == References == | ||
See: http://www.mozilla.org/projects/grendel/filters.html for a discussion on Filters | See: http://www.mozilla.org/projects/grendel/filters.html for a discussion on Filters | ||
Latest revision as of 17:26, 17 August 2005
There should be three types of "Filters"
Types
- Message Filters which take in Messages Lists and return Message Lists
- Message Views which take in Messages Lists and return Message Lists
- Message Actions which take in Messages Lists and return success/failure
Purpose
- Filters and Views are passive; they don't affect the underlying message.
- Actions affect the message.
- Views alter the users' view of messages, they are a transformation but they don't affect the underlying message.
- Filters change the number of messages; they select messages biased on criteria and return that list.
Interaction
The Filters and Views can be chained, and then supplied to an Action.
Spam
A Spam "Filters" is a special kind of Filter (It returns the Message List containing only Spam)
References
See: http://www.mozilla.org/projects/grendel/filters.html for a discussion on Filters