Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is a lot of documentation available on Dojo. If you’re not familiar with the Dojo toolkit, have a look at the tutorials. Another approach is to dive right into it by creating a sidebar widget based on the archetype and analyze the code using using the information available in the Developing Sidebar Widgets topic.

References:

...

The XperienCentral client-side API is documented in the XperienCentral JSDoc. JSDoc is similar to Javadoc, except that it describes JavaScript instead of Java code. A practical example of how to use this documentation can be found on the Developing Sidebar Widgets page.

Back to top

 

...

Widget Plugins in XperienCentral

...

Sidebar widgets are described in detail in the Developing Sidebar Widgets topic, including how to create one using an archetype. Panel widgets are widgets that can be opened via a menu item in the Configuration menu, such as the Layout panel:

...

  • Make sure that each widget is self-contained.
  • The widget should expose public properties, methods and events. This ensures that your widget can be reused in other widgets.
  • Divide responsibility ("granularity"). In general it is better to create a few smaller widgets with a specific function than one large widget with lots of user interface elements.
  • Implement the "deepest" widgets first and work upwards towards the final functionality.
  • Avoid using experimental widgets as much as possible. The DojoX package was originally intended for this purpose.

  • Check for existing widgets. Don’t reinvent the wheel, re-use as much as possible.
  • Keep reusability in mind. Make sure your widgets can be reused in other widgets later on. Also write clear API documentation for your own widget using JSDoc.

 

Back to top

 

...

 

 

Use Case 1: