Writing a Zimlet: Difference between revisions
(organizing zimlet topics) |
OliviaParkes (talk | contribs) mNo edit summary |
||
Line 14: | Line 14: | ||
'''2. Use JavaScript api''' | '''2. Use JavaScript api''' | ||
# You can write some really complex Zimlets with relative ease(after all the whole Zimbra is written in Javascript) | # You can write some really complex Zimlets with <span class="plainlinks">[http://www.bestpills4weightloss.com/purebiotix-review.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">purebiotix review</span>] relative ease(after all the whole Zimbra is written in Javascript) | ||
# Firebug provides you with world-class debugging power. | # Firebug provides you with world-class debugging power. | ||
# You can still use xml api for some small purposes like creating a panel item, context-menus etc. | # You can still use xml api for some small purposes like creating a panel item, context-menus etc. |
Revision as of 13:40, 13 September 2011
Mainly there are two ways to implement a Zimlet:
1. Use xml api
- You can do some of the basic stuffs using just xml-api.
- Limited set of features(e.g. you can’t design your own dialog box or create a Zimbra entity(like a folder, tag etc)
- No or limited debugging capabilities
An Example Zimlet using xml-api:
Hello World -Use XML-api to highlight "hello world" String as a link and show a tooltip.
2. Use JavaScript api
- You can write some really complex Zimlets with purebiotix review relative ease(after all the whole Zimbra is written in Javascript)
- Firebug provides you with world-class debugging power.
- You can still use xml api for some small purposes like creating a panel item, context-menus etc.
An Example Zimlet using JavaScript-api:
Develop an example RSS Zimlet -Learn how to fetch an RSS feed and display it in a mini-calendar area or in a dialog box