Changes between Version 9 and Version 10 of BackendOptions

Show
Ignore:
Author:
T_oo (IP: 127.0.0.1)
Timestamp:
28.12.2009 21:47:43 (4 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BackendOptions

    v9 v10  
    1 = Backend Options = 
     1{{{ 
     2#!html 
     3<h1 style="text-align: center; color: blue; font-size:3.0em">The Future of Coherence: Backend Options</h1> 
     4}}} 
     5 
     6[[TOC(heading= ,inline)]] 
     7 
     8[[BR]] 
     9[[BR]] 
     10 
     11== Backend Options == 
    212 
    313Further experimenting with an options system in which the backend itself provides instructions on generating its configuration GUI. Each backend shall provide ''class attributes descriptions'' and  
    4 ''configuration options'', accordingly named ''_config_description'' and  _config_options.[[BR]][[BR]] 
     14''configuration options'', accordingly named ''_config_description'' and  _config_options.[[BR]] 
    515 
    616'''Note:''' You should probably '''wait''' until these specifications have been '''finalized and implemented.''' They may (and probably will) change a bit.[[BR]] 
    7 [[BR]] 
    817 
     18=== Configuration Description === 
    919 
    10  
    11 == Configuration Description == 
    1220A tuple containing 3 strings: a formatted name, a backend description, and an optional icon used by the webUI/App UI to generate a superficial list of backends. 
    1321 
    1523 
    1624{{{ 
     25#!python 
    1726_config_description = ('iRadio', 'Exposes internet radio streams from Shoutcast.', '/path/path/iradio.png') 
    1827_config_description = ('Shoutcast TV', "Exposes the list of video streams from Shoutcast TV.', None) 
    1928}}} 
    2029Early [http://www.picgarage.net/images/Backe_55170_675.png Implementation] of backend descriptions in which each backend appears as a button leading to its configuration panel. 
    21 [[BR]][[BR]][[BR]] 
    2230 
    23  
    24  
    25 == Configuration Options == 
     31=== Configuration Options === 
    2632 
    2733A list of option dictionaries with the following values: 
    6066Example: 
    6167{{{ 
     68#!python 
    6269 _config_options = [{'option':'name', 'text':'Server Name:', 'type':'string','default':'my media','help': 'the name under this MediaServer shall show up with on other UPnP clients'}, 
    6370                    {'option':'version','text':'UPnP Version:','type':'int','default':2,'enum': (2,1),'help': 'the highest UPnP version this MediaServer shall support','level':'advance'}, 
    7077 
    7178 
    72 == Challenges == 
    73 1.) Finding a proper equilibrium of flexibility and simplicity. [[BR]] 
     79=== Challenges === 
     801.) Finding a proper [http://en.wikipedia.org/wiki/Equilibrium_%28film%29 equilibrium] of flexibility and simplicity. 
    7481 
    75822.) Implementing complex UI options in a simple yet effective way (Example: A UI components that allows the adding/deleting of directories)