Changes between Initial Version and Version 1 of Development/Plugins/WebUi/Examples


Ignore:
Timestamp:
09/19/2008 05:27:57 PM (13 years ago)
Author:
mvoncken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Plugins/WebUi/Examples

    v1 v1  
     1['Development'] 
     2['Development/Plugins'] 
     3 
     4= Webui Examples = 
     5 
     6== Adding a page to the webui == 
     7 
     8=== Intro === 
     9Webui templates are dumb, they get passed data from python, but can't call uiclient api's directly. 
     10 
     11They are there to format the data, not to execute logic. 
     12 
     13Template language: http://webpy.org/templetor 
     14 
     15Flow of data (''Disclaimer, MVC is a highly abused therm, and i'm abusing it here too.'') 
     16{{{ 
     17deluged->xmlrpc->uiclient-> webui         -> data passed as arguments to template. 
     18('Model'                 )  ('controller')   ('view')  
     19}}} 
     20 
     21 
     22 
     23