主权项 |
1. A method, comprising:
presenting, by a network device via a network, a widget development web user interface to a user device; receiving, at the network device via the network, code for script of a widget from the user device via the web user interface; presenting, by the network device via the network and responsive to receiving the code, a list of multiple types of set-top-boxes (STBs) via the web user interface; receiving, at the network device via the network, a selection of a first type of STB from the list of multiple types of STBs from the user device via the web user interface; receiving, at the network device via the network, a selection of a first STB environment, from a list of STB environments, presented via the web user interface responsive to the selection of the selected first type of STB; receiving, at the network device via the network, user selection of a debug mode via the web user interface, executing, by the network device in the debug mode, the script of the widget within the selected first type of STB having the selected first STB environment to test the widget to permit debugging of the script, wherein debugging of the script includes displaying, via the web user interface, graphical representations of user interaction with multiple virtual remote devices and corresponding operations of the selected first type of STB, as the debug mode steps through the script; re-presenting, by the network device via the network and responsive to not receiving a user selection to edit the script, the list of multiple types of STBs via the web user interface; receiving, at the network device via the network, a selection of a second type of STB from the list of multiple types of STBs from the user device via the web user interface; receiving, at the network device via the network, a selection of a second STB environment, from the list of STB environments presented via the web user interface responsive to the selection of the selected second type of STB; and uploading, by the network device via the network, the script of the widget within the selected second type of STB having the selected second STB environment for execution. |