|
Integrating XML and Flash in a Web Application
The IMEX (Imaginary Macromedia Exchange) is a fictional stock market, a hotbed of growth driven by such financial giants as the Rich Corporation (IMEX symbol: RICH), the Poor Corporation (POOR), and Trillionaires, Inc. (TRIL).
You have been hired by IMEX to design and implement a cutting-edge online brokerage system for the trading of IMEX securities. You decide to use Flash 5 as the cornerstone of your system.
The IMEX trading system has the following requirements:
 |
All information must be transmitted securely. |
 |
User accounts must be password protected. |
 |
Users must be able to view the current state of their portfolio. |
 |
Users must be able to buy and sell IMEX securities. |
 |
|
The IMEX is a client-server application, so the client and the server must interact using some protocol. You must design a protocol that fulfills the requirements of the system. Because Flash supports XML data transfer, you decide to base your application protocol on XML. Flash supports both HTTP -based XML data transfer and XMLSocket real-time continuous connections. The IMEX does not offer real-time trading (although that may be offered later as a premium service) so the HTTP -based XML support is sufficient.
- Transmitting data securely
- Creating password protection
- Viewing portfolio holdings
- Trading portfolio holdings
- Sending the LOGIN XML element
- Handling the LOGINREPLY element
- Handling the PORTFOLIO element
- Sending the TRANSACTION element
 |
 |
Macromedia |
|
 |
20 November 2000 |
|
 |
application, client, continuous, connection, data, protocol, server, transfer,. XML |
|
 |
9728 |
 |
 |
|
|