[dev] setup/config

Marko Djukic marko at oblo.com
Tue Apr 8 15:55:54 PDT 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Marko Djukic <marko at oblo.com>:
>
> >  - code which could be shared i need to move it into the cli specific
> > class and create alternatives for code like Horde::fatal(). which bloats
> > the cli class too much. which then raises the question should we be making
> > such a beefed up CLI interface duplicating a lot of the main horde code if
> > it is going to be used relatively little? and it does not seem to make
> > sense having code like Horde::fatal() interface independent.
>
> If people are going to use Horde to write command-line apps, it does.

is there any possibility of people writing command-line apps? (or is it a case
of if you provide they will come?) is there a need for things like
Horde::fatal() to go through an interface adaption for mobile for example?

> Also you could just not use Horde::fatal() in the setup code...
i don't follow?

> >  - this is the same with horde_forms code, started emulating its code
> > within the CLI dialog box code, bloating the CLI code yet it doesn't make
> > sense having horde_forms interface independent.
>
> Whyever not? I've thought a couple times about writing a
> Horde_Form_Renderer_cli. And we should have Horde_Form_Renderer_mobile,
> too, for producing forms using the Horde_Mobile:: class.
>
> > could we use a dedicated mini-webserver as part of the "admin" package for
> > horde?
>
> Ugh. Raises the barrier for things that need to work a bunch.

depends. if you've ever installed cups did you realise that it did anything
special to install its mini-webserver? or whatever it uses.

> > - use something like phpgtk?
>
> Same. Huge install burden on most users - hell, I don't have phpgtk running
> anywhere.

ok it was just an idea. never used phpgtk. although on a side-note it doesn't
sound farfetched writing desktop php apps using horde libs.

> Then continue fleshing out the web UI in horde/admin to do more setup tasks
> better. I don't really see a problem with asking people to cut-n-pasted
> config files as a backup method. And this way anything through the web is
> controlled by Horde authentication.

maybe i'm doing this wrong, someone please enlighten me if this is the case, but
the cut-n-paste is _the_ method and not a backup method for me. i don't have
the webservers running with write permissions to the directories so i am
copying and pasting all the config code. i was getting a bit tired of this and
wanted to explore more intelligent ways to get around this.

marko


More information about the dev mailing list