aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes How to design a web based email system? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "How to design a web based email system?" Watch "How to design a web based email system?" New topic
Author

How to design a web based email system?

Pat Sun
Greenhorn

Joined: Apr 24, 2005
Posts: 8
Hi all I came across Amazon's interview questions and found this one is interesting, does anyone have some idea on how to answer it?

Design a web based email system. Describes pieces, components, design, large scale, and use case
Gerald Davis
Ranch Hand

Joined: May 15, 2002
Posts: 872
Is there such a thing as domains specific design patterns? It would be nice if you could just choose a domain specific design off the shelf.
Pat Sun
Greenhorn

Joined: Apr 24, 2005
Posts: 8
I thought, due to the wide use of web based email system, there should be some very mature and typical patterns. But I googled for the whole day and did not find what I want.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Reusable domain designs would be cool, wouldn't they?

Ed Yourdon, one of the fathers of "Structured Stuff" predicted a market for domain data flow diagrams and other design artifacts that could be plugged into a CASE tool as a starting point or to generate reference systems. It never happened. He also predicted the death of the "American Programmer". Also never happened. Yet.

My company once looked into a very expensive database domain model for party management from IBM. It was so generalized the lead DBA said it all started from the "two-legged mammal" table.

How long did Amazon give for an answer? Long enough to start from user stories? I wonder what they wanted. Hard to tell if they wanted to see how you work out a design or to see how much you know about e-mail systems.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Pat Sun
Greenhorn

Joined: Apr 24, 2005
Posts: 8
It was not from my interview. I came across this problem on a guy's website saying he was asked this question during the phone interview; and I found it kinda challenging. Since it's a phone interview, I guess there was no time for you to think, and you have describe everything without the help of a white board.
Can someone let me know what compoents a web based email system includes, and what the design would look like?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Sarah SP:
Can someone let me know what compoents a web based email system includes, and what the design would look like?


Not without a white board...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Sarah SP:
I thought, due to the wide use of web based email system, there should be some very mature and typical patterns. But I googled for the whole day and did not find what I want.


Mhh, currently I don't see that a web based email system significantly differs from other web based CRUD applications, besides the additional sending and receiving of emails, of course. So probably the typical web application patterns apply?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Gerald Davis:
Is there such a thing as domains specific design patterns?


That would be Analysis Patterns. Martin Fowler wrote a book about it. I don't remember anything about web based email in it, though.

It would be nice if you could just choose a domain specific design off the shelf.


Unless designing a *better* system than your competition is what you try to make money with...
 
 
subject: How to design a web based email system?