Поделиться через


Logical Architecture

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Figure 1 illustrates a high-level logical architecture view of the Stock Trader RI.

Ff921168.6024e154-ee26-4692-a9f1-f9065431275c(en-us,PandP.10).png

Figure 1
Architectural view of the Stock Trader RI

The following describes the main elements of the Stock Trader RI architecture:

  • Application. The application is lightweight and contains the shell that hosts each of the different UI components within the reference implementation. It also contains the StockTraderRIBootstrapper, which sets up the container and initializes module loading.
  • Modules. The solution is divided into the following four modules, which are each maintained by separate teams in different locations:
    • Watch module. The Watch module contains the Watch List and Add To Watch List functionality.
    • News module. The News module contains the NewsFeedService which handles retrieving stock news items.
    • Market module. The Market module handles retrieval of market trend data for the trader's positions and notifies the UI when those positions change. It also handles populating the Trend line for the selected position.
    • Position module. The Position module handles populating the list of positions in the trader's portfolio. It also contains the Buy/Sell order functionality.
  • Infrastructure. The infrastructure contains functionality for both the Stock Trader RI and the Composite Application Guidance core:
    • Composite Application Library. This contains the core composition services and service interfaces for handling regions, commanding, and module loading. It also contains the container façade for the Unity Application Block (also referred to as Unity). The StockTraderRIBootstrapper inherits from the UnityBoostrapper.
    • Stock Trader RI Infrastructure Library. This contains service interfaces specific to the Stock Trader RI, shared models, and shared commands.
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.