[dev] Easier adding of themes and applets

Chuck Hagenbuch chuck at horde.org
Mon Aug 11 11:55:53 PDT 2003


Quoting Marko Djukic <marko at oblo.com>:

> plus it would be good if the applets themselves advertise what they are, plug
> and play like, rather than fiddling with any config settings.
> eg.:
> $this->applets['fortune'] = array(
>     'name' => _("Random Fortune"),
>     'type' => 'fortune',
>     'default' => '/usr/games/fortune'
> );
>
> could be returned by a getInfo() function inside the applet.

Right. What you lose is one easy place to change settings (where they're needed)
and the flexibility of the title being configurable.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the dev mailing list