It's all about the answers!

Ask a question

RM Widgets and DoJo : guide and best practices ?


Jean-François CHAPELLE (6414) | asked Apr 12, 4:01 a.m.
Our JAZZ version is 7.0.2

Where can one find a good guide and best practices for developing RM widgets, which use DoJo?

Thanks in advance.

Regards.

One answer



permanent link
Bruce Macisaac (1111) | answered Jun 05, 3:01 p.m.

This is what I found:

1.      Open Services for Lifecycle Collaboration Workshop - Library: Articles - Jazz Community Site <o:p> </o:p>

And actual workshop pdf: 2013-05-15-oslc-workshop.pdf (jazz.net) <o:p> </o:p>

To make it easier to work with, I created an ES javascript class for each of the concepts in RM.  That is: Project, Artifact, Attribute, ArtifactType, LinkType, Link, and so on.  Made them so they work in both Node.js and in the browser.  Then bridged these to the widgets, which use AMD modules, by dynamically loading the class modules and storing them as objects on an AMD "Model" class.  It was a ton of work, but now it's easy to create widgets and interface with RM.


Comments
Bruce Macisaac commented Jun 05, 3:04 p.m.

I should add that I use dojo inside an opensocial gadget.

You can search the forum for best practices in general for opensocial gadgets.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.