[PC-BSD Dev] Questions

Fabrizio Parrella fabrizio at bibivu.com
Tue Sep 16 08:55:22 PDT 2008


On Tue, September 16, 2008 11:10 am, Kris Moore wrote:
> A.Y. wrote:
>>>
>> So, what structure of service settings did you chose?
>> And what are our dev-plans?
>> Currently I'm looking into plasmoids, want to make post-your-bug one :)
>>
>
> Here's a thought. What about having the GUI simply check if there is a
> settings.sh script, and when the user clicks "settings", it launches
> that script? That settings.sh script could in turn call a python-qt
> script, which handles all the GUI elements, or even a binary settings
> program, depending upon whatever the user wants. That would give us
> flexibility, and allow developers to make simple or very complex
> settings dialogs, depending upon their needs.
>
> We can still try to implement our own UI scheme, but the trouble is that
> we'll probably run into cases where it doesn't do "everything" a
> developer may want to add, when they could simply use an existing
> language for it.
>
> --

The way I solved this is to have in the configuration file only one word:
 - admin
or not have the config. file at all

that was saying to my php script to look for settings.php (.sh in our
case), and run that one

Fabry


>
> Kris Moore
> PC-BSD Software
> http://www.pcbsd.com
> _______________________________________________
> Dev mailing list
> Dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/dev
>




More information about the Dev mailing list