Widgets can be split up into three different components:
- Descriptor (
config.xml), which is a declarative description of the widget. This file contains, among other things, references to the rest of resources of a widget.
- Static resources, such as images, documentation and other static resources.
The following figure shows the structure of files for a widget, which is
distributed as a zip package of such structure with
There are three types of operators:
- Data sources operators: Operators that provide information that can be consumed by other widgets/operators. For example, an operator that retrieves some type of information from a web service.
- Data targets operators: Operators that are provided information and use it to do some tasks. For example, an operator that receives some information and push it to a web service.
- Data transformation operators: This type of operators can be very useful since they can transform data in order to make it usable by widgets or operators that expect data structure to be slightly different.
Operators use the same structure as widgets. The only difference is that the
descriptor file (
config.xml) does not link to an initial HTML document.