Now that our first patch on re-factoring the Address Book
code is nearing its landing date, I thought it might be
appropriate to highlight what is coming in our second
patch and also to ask some questions. I am forwarding a
summary of the functionality of this patch first sent to
the mozilla mailnews group on the 22nd March by Paul Sandoz.
1. The patch will contain an LDAP implementation. To avail
of this we will need to link against the ldap C-SDK.
Should the mozilla build of this now need to be enabled by
default to support this? Who do we contact to make that
decision?
2. In adding MAPI and LDAP support, should we be looking
at restructuring the build to create separate shared libs
to allow inclusion/exclusion for MAPI support and/or LDAP
rather than using #ifdef as e.g. MAPI is windows only rather
than the existing single shared address book library.
3. Will the preference stuff currently being worked on by Dan
& Srilatha & Co. get into 0.9 milestone (18th April). We will
want to tie into this the next time around.
4. The next patch will not change the interfaces as the previous
one did thereby resulting in knock on effects to AIM. There will
be a change to one implementation which AIM uses. And now that we
are more aware of the mozilla processes, can we envisage a shorter
time to get this patch into the tree. What is the best possible
milestone to be targetted if we get the patch to you by the
end of this week?
------------- Begin Forwarded Message -------------
Resent-Date: Thu, 22 Mar 2001 06:26:01 -0800 (PST)
Date: Thu, 22 Mar 2001 14:25:36 +0000 (GMT)
From: Paul Sandoz <[EMAIL PROTECTED]>
Subject: Address book functionality, proposed putback 2.
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-MD5: K3YvKfUGlmOGh9aoexnTVQ==
Resent-Message-ID: <"-7hscC.A.2KE.qtgu6"@gila.mozilla.org>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/12305
X-Loop: [EMAIL PROTECTED]
Resent-Sender: [EMAIL PROTECTED]
There is already a putback underway that people
are working on (Candice, John & Martin have put
loads of work in) primarily involved around the
refactoring and changes to interfaces.
Wanted to get feedback around a second putback.
A second round putback is necessary to complete
the framework and add functionality. This should
have minial impact on dependent code since very
little interface methods have changed (can't
envisage on those that have).
The proposed putback items are presented below,
some of these are actual functionality which
may not be accessible by the GUI because changes
are required but may be used by scriptable agents
and brought to life by hand editing the prefs.js
file:
o Factory instantiation of address books
- Allow for independent instantiation
of address books that need implementation
specific instantion code.
- nsIAbDirectory interface modified to
remove methods associated with the
preferences.
o Query interfaces
o Linear Query implementation (currently synchronous)
- Slow search a bit like the existing autocompletion
for address books that do not support the query
interfaces
o Outlook/MAPI address book including query
implementation (currently synchronous)
- Full outlook address book implementation,
(but prob. without listening)
Users will be able to enable access to all
outlook address books by adding some
preferences to the prefs.js file.
o LDAP Query implementation helper class using
LDAP components.
Can be used by Organisational and Personal
LDAP address books. Thus a directory implementation
only needs to inherit from the helper class to
get query support.
o Organisational LDAP address book. Very simple
implementation since many of the directory
methods do not need to be implemented because
only the query functionality is really used.
If all of these can be combined into a second
patch then it brings enterpise level functionality
so damn close i can almost smell it! some extra
things are require as per a previous post.
Not all items are complete yet but we are nearly
there... and it would be great if we could get this
ready/reviewed to go into the code tree before 0.8.1
gate closes.
Thanks,
Paul.
| ? + ? = To question
----------------\
Paul Sandoz
x19219
+353-1-8199219
------------- End Forwarded Message -------------
------------------------------------------------------
[EMAIL PROTECTED]
Sun Microsystems Ireland
Boole House, East Point Business Park, Dublin 3
Ph: +353 1 819 9235
------------------------------------------------------