From: Marc P. <ma...@an...> - 2003-01-20 16:55:28
|
On Mon, 20 Jan 2003 08:21:21 -0800, Lane Sharman <la...@op...> wrote: > Marc, > > I would like to see 2 high level changes. > > First, all initialization, configuration is handled in a template that > provides the application configurator with the ability to use templates > to configure the application. property files are way to narrow and > limiting. OK. This will be an interesting prospect. Do you mean all the stuff that would normally be in webmacro.properties should be configurable via a template/helper object? If so, there will no doubt be some bootstrapping problems. i.e. WM needs to be running before this template can be parsed, in which case it is too late to change things. Perhaps it would have to bootstrap using a Broker init'd from webmacro.properties, parse the config template, and then create a new Broker using those settings. Dirty. > Second, I want to see some rule-based action handling from a template: > > #if (conditionA) { $actionA } > . > . > . > #if (conditionZ) { $actionB } Hmmm, very interesting. Using templates as action handlers. Interesting plan. I will have to think about this more. Marc |