[Dbix-class] DBIx::Class, another data validation approach

Ulrich Kautz uk.lists at fortrabbit.de
Tue Jul 21 17:56:10 GMT 2009


fREW Schmidt schrieb:
> On Tue, Jul 21, 2009 at 10:51 AM, Andy Armstrong <andy at hexten.net> wrote:
> 
>> On 21 Jul 2009, at 16:29, Ulrich Kautz wrote:
>>
>>> DBIx::Class::DataValidator
>>>
>>> PRO:
>>> + Multiple mergable validators supported for multiple contexts at
>>> runtime (create, update, customs.. )
>>> + Brings columns and validation together at definition time.
>>> + Better DRY support via named validation methods and column classes
>>> (inheritable)
>>> + Deflate / inflate aware
>>>
>>> CONTRA:
>>> - More complex usage, consists of two modules (ResultSet and Component),
>>> more settings (configuration) makes it less lighweight
>>> - Bound to Data::FormValidator
>>>
>>
>> Sounds like just what I'm looking for. Are you going to release it?
>>
> 
> Agreed.
> 

I'll rethink something Rob mentioned (especially the column-type based validation for DBMS), finish the docs, write some more tests, then i'll post it on CPAN.. something like two  weeks, i guess.

greets
Ulrich



More information about the DBIx-Class mailing list