Groups | Blog | Home
all groups > flash data integration > september 2005 >

flash data integration : DataHolder & DataSet


Mark.P.
9/25/2005 12:00:00 AM
I'm not sure I fully understand what the difference is between the two. Could
someone who has a strong understanding give me, and others that don't know, a
quick reply as to the difference and why I might use one over the other in a
given project. Or if there's a tutorial somewhere explaining this difference,
maybe you can share the URL.

Thanks
SimonTheSwift
9/26/2005 12:37:21 PM
Hello Mark,

a brief overview would be something like this (mainly quoting the documents I
will specify later):

Both DataSet and DataHolder components are part of the Data Integration
architecture in Flash (Professional only).

DataHolder - a simplified version of the DataSet component. It's main purpose
is to hold data and act as a connector between other components using data
binding. When initialized, it has a single property called data.

DataSet - a much more robust and complex component. It is one of the essencial
parts of the Flash data management concept. You will use a DataSet when
connecting to external data sources. It works with the dataProvider interface
(a representation of the data stored inside a DataSet) and it can generate
deltaPackets (needed for communication with external data sources through an
XMLConnector or Resolvers). Also, sorting, searching, etc. is much easier with
a DataSet because of its already built in methods and properties.

In very simple terms - you can live without DataHolders, but you need DataSets.


Now the references:

- Using Flash - should be part of your Help in Flash. Also available as a .pdf
file at http://www.macromedia.com/devnet/flash/articles/flashpro_asp.html,
gives a very good introduction to DataBinding and usage of the appropriate
components.

- Flash Developers Center - see the Data Integration link, there are many
tutorials and articles on the topic.


If you have any questions, let us know...

Good luck,

Simon.
Mark.P.
9/26/2005 3:49:40 PM
AddThis Social Bookmark Button