Local Data

 <  Day Day Up  >  

A local data application is one in which all the data needed to run the application is contained locally within the application. Developers can still create local data applications within Flash MX 2004, and there are times when this model makes perfect sense. Of course, there are times when it does not make sense. In the following sections, we discuss both.

Benefits

One main reason developers choose to build an application with local data is that it can run without an Internet connection. It is not uncommon for Flash applications to be distributed on CD, and to this day, many computers do not have a dedicated connection to the Internet. For this reason, there will always be a place for these local data applications.

Liabilities

The liability of local data is fairly obvious, in that the application can use only the data coded within it. This is analogous to the days of microcomputers before client/server applications became dominant. Should the underlying data need to change, the source code would need to be modified and the Flash movie republished.

Another place in which local data applications have a shortcoming is the area of security. Sadly, a series of Flash decompilers have existed for years . They allow their users access to all the variables within a Flash application. If any sensitive data is used, this can be exposed through the use of these decompilers .

 <  Day Day Up  >  


Object-Oriented Programming with ActionScript 2.0
Object-Oriented Programming with ActionScript 2.0
ISBN: 0735713804
EAN: 2147483647
Year: 2004
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net