You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dw...@apache.org on 2002/01/10 08:01:32 UTC

cvs commit: jakarta-commons/validator PROPOSAL.html STATUS.html .cvsignore

dwinterfeldt    02/01/09 23:01:32

  Added:       validator PROPOSAL.html STATUS.html .cvsignore
  Log:
  Basic Commons files.
  
  Revision  Changes    Path
  1.1                  jakarta-commons/validator/PROPOSAL.html
  
  Index: PROPOSAL.html
  ===================================================================
  <html>
  <head>
  <title>Proposal for Validator Library Package</title>
  </head>
  <body bgcolor="white">
  
  <div align="center">
  <h1>Proposal for <em>Validator</em> Package</h1>
  </div>
  
  <h3>(0) Rationale</h3>
  
  <p>There is a need for the validation of JavaBeans to validate 
  user input from forms and validate business rules.  There is also a 
  need to define different validation rules and error messages based on 
  the user's locale.
  </p>
  
  <p>The Validator package will provide the capability to configure 
  validators (validation methods) with different method signatures.  
  So the basic framework can have an interface built on it to deal 
  with validations on web layers, ejb layers, etc.
  </p>
  
  <h3>(1) Scope of the Package</h3>
  
  <p>The package shall create and maintain a package that provides 
  basic validation functionality.
  </p>
  
  <p>
  The package should :
  <ul>
  <li>Provide in an easy way to define validations for fields</li>
  <li>Provide internationalization support for validation rules and error messages.</li>
  <li>Provide an easy way to define validators</li>
  <li>Provide a way to store information in a validator definition so JavaScript client 
      side validation can be auto-generated matching the server side validation.</li>
  </ul>
  </p>
  
  <p>
  Non-goals:
  <ul>
  <li>This package does not auto-generate JavaScript client side code.</li>
  </ul>
  </p>
  
  <h3>(1.5) Interaction With Other Packages</h3>
  
  <p><em>Validator</em> relies on:
  </p>
  
  <ul>
    <li>Jakarta Regexp</li>
  </ul>
  
  <h3>(2) Required Jakarta-Commons Resources</h3>
  
  <ul>
    <li>Commons BeanUtils</li>
    <li>Commons Collections</li>
    <li>Commons Digester</li>
  </ul>
  
  <ul>
  <li>CVS Repository - New directory <code>validator</code> in the 
  <code>jakarta-commons</code> CVS repository.</li>
  
  <li>Initial Committers - The list is provided below. </li>
  
  <li>Mailing List - Discussions will take place on the general
  <em>commons-dev@jakarta.apache.org</em> mailing list. To help list
  subscribers identify messages of interest, it is suggested that the
  message subject of messages about this component be prefixed with
  [Validator].</li>
  
  <li>Bugzilla - New component "Validator" under the "Commons" product
  category, with appropriate version identifiers as needed.</li>
  
  <li>Jyve FAQ - New category "commons-validator" (when available).</li>
  </ul>
  
  
  <h3>(4) Initial Committers</h3>
  
  <p>The initial committers on the Validator component shall be:</p>
  
  <ul>
     <li><a href="mailto:dwinterfeldt@apache.org">David Winterfeldt</a></li>
  </ul>
  
  <br><br>
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-commons/validator/STATUS.html
  
  Index: STATUS.html
  ===================================================================
  <html>
  <head>
  <title>Status File for Jakarta Commons "Validator" Component</title>
  <head>
  <body bgcolor="white">
  
  
  <div align="center">
  <h1>The Jakarta Commons <em>Validator</em> Component</h1>
  <br>
  <a href="#Introduction">[Introduction]</a>
  <a href="#Dependencies">[Dependencies]</a>
  <a href="#Release Info">[Release Info]</a>
  <a href="#Committers">[Committers]</a>
  <a href="#Action Items">[Action Items]</a>
  <br><br>
  </div>
  
  
  <a name="Introduction"></a>
  <h3>1.  INTRODUCTION</h3>
  
  
  <p> The commons-validator package provides a simple, extendable  
  framework to define validators (validation methods) and validation rules 
  in an xml file.  There is support for internationalization of 
  validation rules and error messages.
  </p>
  
  <p>
  The package should :
  <ul>
  <li>Provide in an easy way to define validations for fields</li>
  <li>Provide internationalization support for validation rules and error messages.</li>
  <li>Provide an easy way to define validators</li>
  <li>Provide a way to store information in a validator definition so JavaScript client 
      side validation can be auto-generated matching the server side validation.</li>
  </ul>
  </p>
  
  <p>
  Non-goals:
  <ul>
  <li>This package does not auto-generate JavaScript client side code.</li>
  </ul>
  </p>
   
  
  <a name="Dependencies"></a>
  <h3>2.  DEPENDENCIES</h3>
  
  <p>The <em>Logging</em> component is dependent upon the following external
  components for compilation:</p>
  <ul>
  <li><a href="http://www.junit.org/">JUnit</a>
      (Version 3.2 or later)</li>
  </ul>
  
  <a name="Release Info"></a>
  <h3>3.  RELEASE INFO</h3>
  
  
  <p>Current Release:  <strong>Unreleased, CVS Repository Only</strong></p>
  
  <p>Planned Next Release:  TBD</p>
  
  
  
  <a name="Committers"></a>
  <h3>4.  COMMITTERS</h3>
  
  <p>The following individuals are the primary developers and maintainers of this
  component.  Developers who plan to use <em>Validator</em> in their own
  projects are encouraged to collaborate on the future development of this
  component to ensure that it continues to meet a variety of needs.</p>
  <ul>
    <li><a href="mailto:dwinterfeldt@apache.org">David Winterfeldt</a></li>
  </ul>
  
  <a name="Action Items"></a>
  <h3>5.  ACTION ITEMS</h3>
  
  <p>TO DO List:</p>
  
  <table border="1">
    <tr>
      <th width="80%">Action Item</th>
      <th width="20%">Volunteer</th>
    </tr>
    <tr>
      <td>Have all logging use Commons-Logging.</td>
      <td>David Winterfeldt</td>
    </tr>
  
    <tr>
      <td>Create Unit Tests.</td>
      <td>David Winterfeldt</td>
    </tr>
    <tr>
      <td>Create Examples.</td>
      <td>David Winterfeldt</td>
    </tr>
    <tr>
      <td>Documentation.</td>
      <td>David Winterfeldt</td>
    </tr>
    <tr>
      <td>Create a <em>ValidatorResults</em> class to return the status of validations performed (in <em>org.apache.commons.validator.Validator</em>'s validate method).</td>
      <td>David Winterfeldt</td>
    </tr>
    <tr>
      <td>
         Create ability to define a component.  For example, to define 
         a global validation rule for an address object that can 
         then be referenced in a form element.
      </td>
      <td></td>
    </tr>
  </table>
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-commons/validator/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  build.properties
  build
  dist
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>