[ 
https://issues.apache.org/jira/browse/VALIDATOR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb resolved VALIDATOR-237.
----------------------------
    Resolution: Abandoned

> Abstract Validation framework to Actions framework.
> ---------------------------------------------------
>
>                 Key: VALIDATOR-237
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-237
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: 1.4.0 Release
>         Environment: All
>            Reporter: Bhupesh Naik
>            Priority: Minor
>         Attachments: test.actionframework.zip
>
>
> 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 Value
>  
> 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 was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to