commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupesh Naik (JIRA)" <>
Subject [jira] Created: (VALIDATOR-237) Abstract Validation framework to Actions framework.
Date Thu, 20 Sep 2007 19:00:35 GMT
Abstract Validation framework to Actions framework.

                 Key: VALIDATOR-237
             Project: Commons Validator
          Issue Type: New Feature
          Components: Framework
    Affects Versions: 1.4
         Environment: All
            Reporter: Bhupesh Naik
            Priority: Minor

Apache Commons validator can be ABSTRACTED to a common framework called ACTIONS framework.
The Actions framework will act in similar manner as validation framework but will be independent
of the way in which actions are execute on the value.
Abstraction points.
1.Validation can be treated as any action
2.The value to be validated is treated as source value
3.The return value true/false can be treated as a target value
4.Source Value ---pass to--- > list of actions to be executed ----results in---> Target
We have already done this in our enterprise product, we use apache validation framework even
for transforming values in our custom ETL framework.
Once the apache validator is abstracted as actions framework one can use the same to not only
validate the source value but to transform the value or even in describing and modifying styles
of controls in UI and much more. The advantage here is we use the same digester , loading
of elements, extending forms and stuff, this code remains common.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message