Skip to content
Bastian Feder edited this page Dec 28, 2010 · 1 revision

Controller

The controller is some kind of a dispatcher either routing the incoming request to the correct import-module or sending a request to a web-service (e.g. a RSS-feed) and routes the response to the import-module processing it.

The controller must not implement any logic to import data in to the storage. This has to be handled in the service injected into the controller. This is to keep the architecture and the possible options of the controller to handle different formats flexible and easy to extend.

Clone this wiki locally