Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-2009, 06:22 AM
Active Member
 
Posts: 34
Default Zimlet to search a mysql DB in zimbra canvas

The zimlet I am developing is pretty simple: it asks some words and then is prints all the records of some tables that have such words.

I did this: clicking on my zimlet icon you open a new window in apache which has PHP.

I don't like this solution because it requires to have on the same server Zimbra (which has its Apache) and Apache+PHP.

1. I want to use the zimbra window, as the "Y Local" zimlet does.

2. As far as I know javascript can't access a DB.
But the motor of Zimbra is a Tomcat (a java app), so it should be possible to add a third-party java class to access mysql DBs (how?)

Anybody can give me details for points 1 and 2 (obviously point 1 is useless if I can't read the DB within the Zimbra environment).

Thanks

Fede
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.