click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLK-661) Add Java based configuration
Date Sat, 17 Apr 2010 02:04:24 GMT
Add Java based configuration
----------------------------

                 Key: CLK-661
                 URL: https://issues.apache.org/jira/browse/CLK-661
             Project: Click
          Issue Type: Improvement
            Reporter: Bob Schellink
             Fix For: 2.3.0


click.xml has grown over the years especially since we introduced the service based architecture.
Some of the problems with xml based configurations is:

- no compile time checking
- no JavaDoc help in IDE

I propose we add a new DefaultConfigService class that is Java based which XmlConfigService
extends from.

Its advantages is the polar opposite of xml disadvantage:

- compile time checking
- JavaDoc help in IDE
- More powerful configuration options, e.g. its possible to configure FileUpload in ways not
exposed by xml config. Also possible to create more powerful algorithms e.g. which templates
to include/exclude.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message