[Arp] Application configuration
Christophe Herreman
lists at herrodius.com
Tue May 3 11:18:09 PDT 2005
Well, it's actually just an XML file which holds external vars, like the
path to a folder with images or something, but has a *.config extension. The
file consists of key/value pairs and you can put in whatever you want.
This could be a nice feature to have. We have integrated something like this
for our e-learning app framework, which is actually built on top of the ARP
framework. We have a class called IdiomaticApplication (Idiomatic is the
framework) and every application we make extends that class. So instead of
having our main form, Application, extend ArpForm, we just extend
IdiomaticApplication (which extends ArpForm). This then loads some content
and builds up a datamodel for our app. It could also load a config file that
tells us where to find the images/videos/audios etc.
The AppSettingsReader class enables you to read the key/value pairs by
calling the getValue() method and pass in the key. This class is actually
just a wrapper for the XML class, well in some way it is.
So if anyone came up with something similar, let us know. I'm convinced that
this is not only useful in our e-learning apps, but also in other apps that
need some configuration handling. Maybe Aral can tell us what he thinks.
Does something like this belong in a framework like ARP or not?
regards,
Christophe
----- Original Message -----
From: "Chris Velevitch" <chris.velevitch at gmail.com>
To: "General List for Ariaware RIA Platform users and developers"
<Arp at ariaware.com>
Sent: Tuesday, May 03, 2005 5:20 PM
Subject: Re: [Arp] Application configuration
I'm not familiar with .NET nor .NET configuration. Could you briefly
describe this and what you are hoping to achieve?
BTW, app.config looks like a filename. Unless you're using Flex or one
of the 3rd party projector creators, you won't be able to read a file
from a regular flash app.
_______________________________________________
Arp mailing list
Arp at ariaware.com
http://ariaware.com/mailman/listinfo/arp_ariaware.com
More information about the Arp
mailing list