Re: [Flashcoders] eLearning content starting from XML - best practice

2008-12-01 Thread Jer Brand
Knowing nothing about Unison and speaking of using XML in projects in
general, I find it's easier to just use the XML.

The XML has a structure and order. It has simple methods of accessing,
filtering and sorting the data. You can write to it and mark completions and
such right in the XML object in memory. How much effort can you put into
rebuilding those pieces in AS3, and what do you get out of it?

I ask myself a similar question every project and I've yet to find a good
argument for transforming the XML into Objects/Arrays, though I'm sure there
is one depending on the project.

Closest I've come is a object wrapping my XML that returns filtered, typed
properties (like a configuration file for an app).

Jer


On Mon, Dec 1, 2008 at 2:02 PM, Norman Cousineau
[EMAIL PROTECTED]wrote:


 Hi Flashcoders,

 I'm currently using a product called Unison for creating eLearning.
 It produces an XML file that contains all info needed for the SCO:
 attributes at the root level to describe preferences, and child nodes
 to describe topics and pages. Each of those has its own set of
 preferences defined in attributes.

 The main FLA builds the table of contents and displays content using
 a procedural programming approach (using 4 .as files included
 on a timeline).

 The XML object is manipulated as an XML object, the info is NOT
 converted to any other type of AS object.

 In my opinion, it would make sense to convert all the XML nodes to AS
 objects. At the top level could be a Course whose members mirror
 the root level attributes of the XML. Further, each  Course has Topic
 instances, and each Topic has Page instances.

 This seems more manageable to me, but it creates a bunch of objects
 in memory, rather than just working with one XML object.

 I don't have a heck of a lot of experience with this kind of
 architecture, so I'd like to know your opinions.

 Thanks,

 Norm
 _

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] eLearning content starting from XML - best practice

2008-12-01 Thread Cor
Hi Norm,

I always transform them into internal AS objects or arrays.

I am still writing my XMLs manually.
So can you give me some info about Unison.
Is there a trial or something like that?

Kind regards
Cor van Dooren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norman
Cousineau
Sent: maandag 1 december 2008 21:02
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] eLearning content starting from XML - best practice


Hi Flashcoders,
 
I'm currently using a product called Unison for creating eLearning.
It produces an XML file that contains all info needed for the SCO: 
attributes at the root level to describe preferences, and child nodes 
to describe topics and pages. Each of those has its own set of 
preferences defined in attributes. 
 
The main FLA builds the table of contents and displays content using 
a procedural programming approach (using 4 .as files included 
on a timeline).
 
The XML object is manipulated as an XML object, the info is NOT 
converted to any other type of AS object.
 
In my opinion, it would make sense to convert all the XML nodes to AS 
objects. At the top level could be a Course whose members mirror 
the root level attributes of the XML. Further, each  Course has Topic 
instances, and each Topic has Page instances.
 
This seems more manageable to me, but it creates a bunch of objects 
in memory, rather than just working with one XML object.
 
I don't have a heck of a lot of experience with this kind of 
architecture, so I'd like to know your opinions.
 
Thanks,
 
Norm
_

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.12/1822 - Release Date: 1-12-2008
8:23

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders