[Dev] Factory method for EmailAddress

Brian Kirsch bkirsch at osafoundation.org
Fri Aug 27 15:39:29 PDT 2004


The check should take place anywhere an EmailAddress is created 
including IMAP downloads, Contacts, SMTP sending, and IMAP Account 
configuration (replyToAddress).

Brian Kirsch - Email Framework Engineer
Open Source Applications Foundation
543 Howard St. 5th Floor 
San Francisco, CA 94105 
(415) 946-3056 

On Aug 27, 2004, at 3:03 PM, Morgen Sagen wrote:

>
> 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?
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev





More information about the Dev mailing list