Summary | Splitting functionality in the Kolab driver |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | wrobel (at) pardus (dot) de |
Created | 03/09/2007 (6742 days ago) |
Due | |
Updated | 03/09/2007 (6742 days ago) |
Assigned | |
Resolved | 03/09/2007 (6742 days ago) |
Milestone | |
Patch | No |
New Attachment: framework-Kolab_Driver-split_20070309-3.patch
morning. Patch attached.
the code yet, but the include paths look wrong to me:
require_once 'Horde/IMAP.php';
require_once 'Horde/LDAP.php';
Shouldn't this read:
require_once 'Horde/Kolab/IMAP.php';
require_once 'Horde/Kolab/LDAP.php';
?
Cheers,
Thomas
State ⇒ Resolved
New Attachment: framework-Kolab_Driver-split_20070309-2.patch
IMAP.php and LDAP.php and package.xml has been modified accordingly.
The Kolab_IMAP.php and Kolab_LDAP.php attached in the previous
comments can then be used as IMAP.php and LDAP.php.
State ⇒ Feedback
New Attachment: Kolab_LDAP.php
New Attachment: Kolab_IMAP.php
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Splitting functionality in the Kolab driver
Queue ⇒ Horde Framework Packages
New Attachment: framework-Kolab_Driver-split_20070309.patch
State ⇒ New
shared by the specific Kolab drivers of the four groupware
applications. The current structure has some problems though: It
requires the specific Kolab drivers to directly access the XML
modification routines. This way the specific drivers implement a lot
more Kolab specific knowledge than they should and links them strongly
to the main Kolab driver.
We would like to decouple this and allow the specific Kolab drivers to
simply operate on a hash that would then be loaded or saved via the
main Kolab driver. The main Kolab driver would then handle the XML
routines on its own.
This is also necessary requirement in order to allow the main Kolab
driver to cache the results, thus making data access significantly
faster.
The attached patch splits the Kolab driver and prepares it for the
necessary changes. The Kolab driver retains all its functionality and
this is only a structural change.