Code Voyeur
RSS
Languages MVC ORM About Roadmap Contact Site Map RSS Sample Code Presentations Snippets dll Hell .net

Articles Tagged with validation

A Simple IronPython Business Object Validation Framework
Frameworks like Spring.NET and the Enterprise Library provide rich, extensible validation support. In both cases, rules may be defined within the app config's XML (or some external configuration source). Castle's approach allows for custom attributes to be created, extending validation with .NET code. This article offers an in-between approach.
A Boo Object Validation DSL
Validation routines are typically stored in XML files when configured externally. This article will demonstrate how to create a simple DSL with Boo for validating both business objects and non-business objects (web forms for example).