[Freedombox-discuss] Dev: Cross Cutting Concerns in Plinth?

Petter Reinholdtsen pere at hungry.com
Tue Mar 25 19:26:26 UTC 2014


[Nick Daly]
> Hi folks, Plinth doesn't currently handle cross-cutting concerns
> very well.  For example, if I change the hostname, I need to
> individually notify every service that depends on that hostname.  If
> Plinth had better support for callbacks or advice, each service
> could just register a function to be performed when the hostname
> changed.

This sound like the thing that is some times called an event bus.  And
dbus is one such event bus already available in Debian.  Perhaps we
should use it for this?

-- 
Happy hacking
Petter Reinholdtsen



More information about the Freedombox-discuss mailing list