Hi,

I would like to open a discussion about environment/system variables,
and some ways this can be implemented. Note to friendly Google people,
I did not put this in the tracker, since there are several ways of
doing this, so I'd rather provide some general feedback and invite
others to discuss.

I would like to be able to define a list of system variables in a YAML
file, something like this:

environment:

- parm: master_password

- parm: not_a_secret
  value: foo

- parm: something_else
  value: bar

- parm: title
  value: Hello World

- parm: default_balance
  type: int
  value: 20

If the YAML file contains a parm/value pair, that overwrites whatever
is in the console. If only the parm name is provided, I have to log in
as an admin to edit the value in the App Engine dashboard. It assumes
the data type is string unless specified with a type parameter.

These values are stored in a special memcached datastore and can be
accessed via a simple API call like

  value = sysenv(parm) (ideally you'd tweak one of the standard
libraries to read system data to do this)

The reason I want this is I'd like to be able to manage system
configuration data separately from the source code, and do not want to
build my own admin tool to do this. I can, but I have a lot of other
things to do, and this is functionality that will benefit most GAE
users.

My $0.02

Brian McConnell

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to