[Kolab-devel] The kolab-resource-handlers module

Richard Bos radoeka at xs4all.nl
Wed Sep 28 20:46:57 CEST 2005


Op woensdag 28 september 2005 16:48, schreef Bernhard Reiter:
> > Does this need to wait till 3.0?
> We probably cannot help it.

okay, that's the way it is.  Any change to have it listed on the 3.0 feature 
list/todo's?



> > Or a
> > strategy to distract the code from fbview ....
>
> First find out which code is used by resmgr and freebusy.
> In a test installation you could search the files for includes
> for dependencies and then verify the analyis by deleting the parts
> that you think are fbview only.
> This way it should get smaller.

There seems quite some code involved:

kolab-resource-handlers/resmgr> grep require *php  | grep -v kolabfilter
kolabmailboxfilter.php:require_once 'PEAR.php';
kolabmailboxfilter.php:require_once '@l_prefix@/etc/resmgr/resmgr.conf';
kolabmailtransport.php:    require_once 'Net/LMTP.php';
kolabmailtransport.php:    require_once 'Net/SMTP.php';
olhacks.php:require_once HORDE_BASE . '/lib/core.php';
olhacks.php:require_once 'Horde/iCalendar.php';
olhacks.php:require_once 'Horde/NLS.php';
olhacks.php:require_once 'Horde/MIME.php';
olhacks.php:require_once 'Horde/MIME/Message.php';
olhacks.php:require_once 'Horde/MIME/Headers.php';
olhacks.php:require_once 'Horde/MIME/Part.php';
olhacks.php:require_once 'Horde/MIME/Structure.php';
olhacks.php:  require_once 'Mail/mimeDecode.php';
olhacks.php:  require_once 'Mail.php';
resmgr.php:require_once 'Net/IMAP.php';
resmgr.php:require_once HORDE_BASE . '/lib/core.php';
resmgr.php:require_once 'Horde/iCalendar.php';
resmgr.php:require_once 'Horde/NLS.php';
resmgr.php:require_once 'Horde/MIME.php';
resmgr.php:require_once 'Horde/MIME/Message.php';
resmgr.php:require_once 'Horde/MIME/Headers.php';
resmgr.php:require_once 'Horde/MIME/Part.php';
resmgr.php:require_once 'Horde/MIME/Structure.php';
resmgr.php:require_once 'Horde/Text.php';
resmgr.php:require_once 'freebusy/recurrence.class.php';
resmgr.php:        require_once 'Net/SMTP.php';
resmgr.php:        require_once 'Mail.php';
resmgr.php:      require_once 'Mail.php';

kolab-resource-handlers/freebusy> grep require *php | grep -vE "freebusy/|
resmgr|URL"
freebusy.class.php:    require_once('Net/IMAP.php');
freebusy.class.php:    require_once 'PEAR.php';
freebusy.class.php:    require_once 'Horde/iCalendar.php';
freebusy.class.php:    require_once 'Horde/MIME.php';
freebusy.class.php:    require_once 'Horde/MIME/Message.php';
freebusy.class.php:    require_once 'Horde/MIME/Structure.php';
freebusycollector.class.php:    require_once 'PEAR.php';
freebusycollector.class.php:    require_once 'Horde/iCalendar.php';
freebusycollector.class.php:    require_once 'Horde/MIME.php';
freebusycollector.class.php:    require_once 'Horde/MIME/Message.php';
freebusycollector.class.php:    require_once 'Horde/MIME/Structure.php';

Are the require_once lines without 'horde', just reqular php modules or are 
these delivered by fbview as well?  If only the 'horde' modules are needed 
from fbview, the following modules are used:

Horde/iCalendar.php
Horde/MIME/Headers.php
Horde/MIME/Message.php
Horde/MIME/Part.php
Horde/MIME.php
Horde/MIME/Structure.php
Horde/NLS.php
Horde/Text.php
/lib/core.php

Would it be sufficient to copy those modules with the resource-handlers, if 
the fbview functionality is not wanted?

BTW: the /lib/core.php comes from: HORDE_BASE . '/lib/core.php
I don't know what that means, but I assume for php devs that is not an issue.


-- 
Richard Bos
Without a home the journey is endless




More information about the devel mailing list