[dev] Easier adding of themes and applets

Jan Schneider jan at horde.org
Mon Aug 11 12:10:12 PDT 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> 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.

That's true, but actually often the case with applets (being small
encapsulated programs).

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list