|
I have developed my own Client validation
framework for the company I work for and I will second the notion of what
Trinidad/ADF is doing. I went a similar approach, although I did mine
slightly differently. We have a requirement to support multiple mediums
including desktop, PDA, etc. So, I developed an interface (ClientValidator)
that defines the basis of the system. Then, I developed further
interfaces that extend ClientValidator for HtmlClientValidator and
WmlClientValidator. These interfaces define the appropriate functions
required for a specific technology. Although most mediums will just
require access to some appropriate resource script or script content, some
mediums may require additional functionality. Then, a specific validator
can choose to implement one or more client validators depending on which medium
they want to support. This is prolly overkill for most situations, but it
allows for future interfaces that classes can implement. So, IMO, +1 for an interface as well. Nick From: Adam Winer
[mailto:[EMAIL PROTECTED] I think that having a
ValidatorBase is reasonable enough, but that On 7/12/06, Mario
Ivankovits <[EMAIL PROTECTED]>
wrote: Hi Cagatay! |
- Re: Client Validation Design Discussion Adam Winer
- RE: Client Validation Design Discussion Hagen, Nicholas
- Re: Client Validation Design Discussion Cagatay Civici
- Re: Client Validation Design Discussion Matthias Wessendorf
- Re: Client Validation Design Discussi... Cagatay Civici
- Re: Client Validation Design Discussi... Martin Marinschek
- Re: Client Validation Design Discussion Mario Ivankovits
- Re: Client Validation Design Discussion Martin Marinschek
- Re: Client Validation Design Discussion Mario Ivankovits
- Re: Client Validation Design Discussi... Mario Ivankovits
- Re: Client Validation Design Discussi... Adam Winer
- Re: Client Validation Design Dis... Mario Ivankovits
