Quantcast
Channel: feed2exec:0468b0f013c169566ebd398aeeb6b63f08dcccc0 commits
Viewing all articles
Browse latest Browse all 40

API refactoring: merge classes in a controller

$
0
0
The FeedStorage and FeedFetcher class were fairly similar: they were wrappers around the storage subsystem, which is basically a "model", so they are a "controller" in the classic sense. So merge them both in a single "FeedManager" which is a controller class that manipulates the underlying object. This is the first step of a larger refactoring: we may want to create a Feed class of objects to manipulate feeds directly, for example allowing filters to operate on OPML import/exports...

Viewing all articles
Browse latest Browse all 40

Trending Articles