Aplication Parameters

G

Guillem Serra

Which is the best way to manage the applications parameters.?

I have an application that have many parameters and they can grow in the
future. (I allow the users configure some aspects of the behavior of the
app.)

I look for a way easy to add new parameters and maintain, fast to retrieve
the parameters values.( and of course stability)

I imagine something based on a table with one record for each parameter:
(ParameterName and ParameterValue), which would be loaded in private memory
variables at start time.

It is easy to maintain (create/modify a record) and fast to retrieve (from
memory). But, for each parameter I need to create also a small function to
retrieve it.

Is it better to do it by means of a collection?, or an array?, or by
registry keys?, or another new way at all?.

Do someone have experience in which is the best way to manage this?.

Thanks in advance. Any advice will save me a lot of time.

Guillem
 
D

david epsom dot com dot au

Do someone have experience in which is the best way to manage this?.

I've tried all the ways, and they all work. I really don't think
that there is much to choose between them. Do whatever seems
comfortable to you.

(david)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top