Before starting any application, formulate a plan. Clarify the project goals and map out a strategy to meet them. A My Page application requires a framework that allows various modules to be added, as illust rated in Figure 27-1.
The application should have a scalable architecture that allows the developer to offer more modules and allows the user to add more of these modules to his customized page. The My Page framework should not care about the particulars of each module and should treat all modules uniformly.
The sample application code that is provided in this chapter includes the following files:
The My Page framework document
A note module
An address book module
A web search modular service (uses Google's web service)
An XML document that tells the framework which modules are available
An ActionScript file with functions that are shared by multiple movies
The final files can be downloaded from http://www.person13.com/ascb.
|