Version 1 (modified by mvoncken, 15 years ago) (diff)


Development Development/Plugins

Webui Examples

Adding a page to the webui


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:

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')