[Dev] Factory method for EmailAddress
Morgen Sagen
morgen at osafoundation.org
Fri Aug 27 15:03:26 PDT 2004
On Aug 27, 2004, at 2:41 PM, Donn Denman wrote:
> Dev Folks,
>
> I'm planning to add a factory method for creation/reusing EmailAddress
> Items, and there are some architecture issues for consideration.
>
> Currently we're creating a lot of EmailAddress Items on the fly now
> that Email and Sharing are starting to work. I'm thinking the factory
> method will allow us to reuse existing EmailAddress items to prevent
> build-up of duplicates.
>
> Architecture Issues:
> ------------------------------
> * Looking up existing items could impact performance of reading mail,
> but I'll use Ted's latest queries, and we can add a parameter to
> disable the lookup if it's not fast enough.
Won't this lookup-for-existing-addresses happen as each email message
is downloaded by the imap layer (i.e., in the background)? That way,
when it comes time for the UI to display an email message, you'll
already have references to the appropriate EmailAddress items?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2377 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20040827/92d1417a/smime.bin
More information about the Dev
mailing list