Dataengines ...anywhere
Aaron J. Seigo
aseigo at kde.org
Mon Jul 11 18:45:10 CEST 2011
On Sunday, July 10, 2011 00:39:43 Nicolas Alvarez wrote:
> Anyway, even if I sort-of know the answer, this naturally leads me to the
> question of "what is the actual use-case of dataengines?". In particular,
> what's the advantage/rationale to the model of sources + keys + arbitrary
> QVariants as values + procedural 'services'?
an easy to use system that provides all the infrastructure for time based
updates as well as resource (e.g. memory) management for a multiple-readers
(and in the case of services, multiple "writer") situations all while not
requiring applets to link against N different libraries for N different data
sets (which, sadly, tends to be the norm). it also prevents having to build
different bindings for all those N different libraries, gives us one place to
manage access to them (allowing for things like remoting), and lets us keep
the applet API tiny without feeling tempted to bloat it with things like
"cpuTemperature()" (see how many other widget APIs make that mistake..)
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110711/7441a3e6/attachment.sig
More information about the Plasma-devel
mailing list