Use a messagebus
Closed, ResolvedPublic

Description

We currently have two message-bus like concepts; actions and notifications. For widespread use to interconnect components this needs to be made a little more generic, which would greatly help to reduce tight coupling between components through API.
The QML API for the bus could look very much like the action system:

Message {

messageType: Message.Mail.ReplytypeId
someRandomProperty: ""

}
Bus.post("mail", message)
Listener {

name: "mail"
onMessage {
  //Do stuff with message
}

}

cmollekopf moved this task from Backlog to 0.3 on the Kube board.
cmollekopf edited projects, added Kube (0.3); removed Kube.

This is now implemented in a first version under the name "Fabric" and widely used throughout kube. The action and notification frameworks have been dropped entirely in favor of the Fabric and most controllers have been replaced as well.
FWIW: The above link sums up the concept perfectly.

cmollekopf moved this task from Backlog to Done on the Kube (0.3) board.Apr 25 2017, 11:23 AM
mbohlender closed this task as Resolved.Jul 3 2017, 1:43 PM
mbohlender claimed this task.