
Data management (Flash Professional only)
419
■
Create an intermediary object that resides on the server to act as a bridge between your
client and the public services you want to use. This approach offers several advantages:
■
Public web services can be aggregated. With this approach you can provide fail-over
safety and load balancing when a request is made for data.
■
You can control the flow of data in your application. If the web service goes away or
the URL is down, you can decide how to respond.
■
Data can be optimized. Multiple requests can be cached.
■
You can have custom error handling. You can determine what errors to send back to
the client.
■
Data can be manipulated, converted, or combined. You can pull data from several
sources and return one data packet with the combined information.
Many of the SOAP-based applications that you build will use private web services hosted on
your server. After you determine the best way to implement and expose your own web
services, it is easy to make public web services available to your client application. When you
are in control of the server, you can offer a complete solution. The server is the ideal place for
business logic that can determine the best way to respond to requests for data and the results
that should be sent back to the client. This is also the most secure way to build an application.
The server can provide additional processing to make sure that users have access only to
certain services as well as protect the client from making calls to malicious services that can
return bad data.
For more information, see the DevNet article “Getting a Handle on Web Services” at
www.macromedia.com/devnet/mx/flash/articles/flmxpro_webservices.html
.
Data management (Flash Professional
only)
You use the DataSet component for applications that handle managed data. The term
managed data
refers to the ability to perform advanced operations on a local cache of data,
including multiple sorts, filters, finds, and offline caching. A managed data solution requires
more setup but gives you greater control over your data. In general, you should use a managed
data approach for the following scenarios:
■
You need to apply multifield sorts, filters, or ranges to your data.
■
You are building an application that provides the ability to work offline (changes to the
data are cached offline and can be applied at a later time).
■
You want to receive changes from the server and apply them to your local cache of data.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...