RunnerModel

Marco Martin notmart at gmail.com
Tue Nov 22 00:00:02 UTC 2011


On 11/21/11, Aaron J. Seigo <aseigo at kde.org> wrote:
> hi....
>
> there is (yet another! :) new branch in plasma-mobile: runnermodel.
>

awesome :D

>
> the only question i have at this point is if i should merge the qml plugin
> for
> RunnerModel into the MetaDataModels qml plugin.
>
> pro:
>
> * we have just one plugin to load for all models; in this case i'd recommend
> changing the name of the plugin to "PlasmaDataModels"
>
> con:
>
> * it means everything is one big plugin and loading the plugin for just one
> model means you get them all. using them all is likely the common case
>

I would prefer small plugins that do one things, like we already have
applets,runners etc. tHe idea is that theere could be 3rd party ones
as well (i can easily see an akonadi one for instance)

the performaance cost here is that having a ton of small so loaded has
for sure an hoverhead, but i can see things like applications using
maybe only one model, like the runner one is more probable in a shell
while the metadata one is more likely to be used in an application as
well.

Cheers,
Marco Martin


More information about the Active mailing list