[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



[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



Reply to: