Thunderbird/NextGeneration/Services

From MozillaWiki
Jump to: navigation, search
Do not edit this page THIS PAGE IS PROPOSED FOR DELETION 2019-11-15
This page contains personal plans that are no longer relevant, and could be confusing for people looking into Thunderbird plans. Should have been on a user page to start with.

Services (or Managers) are singletons and drive the overall application orchestration.

They might be considered part of the model or of the view, depending on their nature.

One service contains a list of all mail accounts. This is the core of the model, and central access point for servers, folders, and finally messages and their attachments. It will also trigger the mail server login at application startup, and the automatic mail polling.
Other services will listen to external input, e.g. the mailto: handler.

Access to UI: Some services – e.g. the mailto: handler – can only exist once in the application, but still need to open a UI – in this case, a composer window. Most services need a way to show errors, without disrupting the user, but still noticeable.