Thursday, May 20, 2010

Client side dynamic configuration/properties

Hi,

What is a good way to get dynamic configuration information to the client?

I've an application that has some configuration parameters that we
need client side, which include:

- Configurable dates fetched from a database.
- Certain interface heights/widths, preferably configured in some easy
.properties file.
- Labels for weeks fetched from a database.

Looks like the Constants interface is not a good match for this since
a recompile seems necessary on every change.

I was thinking about creating some Configuration object that gets
fetched on application start (server fills it with the necessary
data), and which is then available through some singleton/static
variable construct. Disadvantage is of course that singletons are
sometimes discouraged, and that it's more work to code than an out of
the box solution.

Any thoughts on this?

--
Regards,

Mike Noordermeer
mike@normi.net

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate