Skip to content

AhmedElemary57/A-simple-web-based-email-program

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accosiated with Alexandria University

Objective

The aim of the project is to implement the basic functionalities of a mail server, including manipulation of mails, attachments and contacts.

UML Diagram

fasad-Page-1 drawio

Used Design Patterns

Singleton DP:

  • We have applied the singleton design pattern on the “SingletonServer” class, it is unique for the user that is login in the server at that time. It has arrays of emails for (inbox, sent, trash, draft, contacts). We save to the database “to our hdd” only when refresh or logout happen, we reset the server after each logout.

Criteria DP:

  • We used the criteria -filter- design pattern to filter the emails according to subject, sender, body, date, or receiver and direct them to a specific mail folder.

Façade DP:

  • We applied the façade design pattern on the “ServerController” class, it simplifies a-ccess to a related set of objects by providing one object that all objects outside the set use to communicate with the set.

Sample Runs

1

22

3

About

email server platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 60.3%
  • TypeScript 22.4%
  • HTML 13.8%
  • CSS 2.7%
  • JavaScript 0.8%