Version 1 (modified by mvoncken, 16 years ago) (diff) |
---|
Development Development/Plugins
Webui Examples
Adding a page to the webui
Intro
Webui templates are dumb, they get passed data from python, but can't call uiclient api's directly.
They are there to format the data, not to execute logic.
Template language: http://webpy.org/templetor
Flow of data (Disclaimer, MVC is a highly abused therm, and i'm abusing it here too.)
deluged->xmlrpc->uiclient-> webui -> data passed as arguments to template. ('Model' ) ('controller') ('view')