Code Voyeur
RSS
Data Access Languages MVC ORM About Roadmap Contact Site Map RSS Sample Code Presentations Snippets dll Hell .net Rate My Snippet

Articles Tagged with boo

A Boo DSL for Transforming Objects to RSS
Boo's flexible syntax has allowed it to join Ruby as a language option for creating a non-XML based DSL. This article will examine how to create a simple DSL using Boo. The purpose of the DSL will be to define an set of rules for serializing objects as item blocks in an RSS feed. The rules will be externally defined as would be typical of a solution that instead uses XML configuration.
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).