What about supporting both mechanisms: config.xml (for simple sites & new James administrators) config.script (for complex sites & experienced James administrators)
I think BeanShell (or whatever the Java scripting language is) would be a good first choice for a scripting language, and all we'd have to do is expose some of the James internals, like jEdit (www.jedit.org) has done. > -----Original Message----- > From: Serge Knystautas [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 12:28 PM > To: [EMAIL PROTECTED] > Subject: EL for matching > > > Here's something from way in left-field. > > I tend to agree with (name I forgot here...sorry) that XML shouldn't be > used for scripting so much, and I'm not sure how you merge the > configuration needed for mailets and matchers with a scripting section. > > BUT... what I was going to suggest is what about using EL (defined > originally in JSTL and now available in commons) as a way to the > scripting. > > This could be a bear to implement (which it already is, and needs to be > improved), but this could immediate give us a somewhat-standard and much > richer logic and evaluation. > > Matchers could get configured and be EL functions. Just as a way to > improve the matching logic. > > Any thoughts? Tracking how things like Siege and procmail work, there > is just a lot more a sysadmin can do with simple scripting. James can > extend way beyond what those can do, but you are stuck with tough > scripting or turning to Java code (which is what I originally wanted > many years ago, and now think is bad). > > -- > Serge Knystautas > President > Lokitech >> software . strategy . design >> http://www.lokitech.com > p. 301.656.5501 > e. [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
