<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Bob&apos;s Blog - ColdFusion Tidbits - cfUniForm</title>
			<link>http://www.silverwareconsulting.com/index.cfm</link>
			<description>Some stuff about ColdFusion and Transfer</description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 05:28:55 -0400</pubDate>
			<lastBuildDate>Fri, 10 Oct 2008 08:50:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>bob.silverberg@gmail.com</managingEditor>
			<webMaster>bob.silverberg@gmail.com</webMaster>
			
			<item>
				<title>ValidateThis! - Object Oriented Validations Demo Now Online</title>
				<link>http://www.silverwareconsulting.com/index.cfm/2008/10/10/ValidateThis--Object-Oriented-Validations-Demo-Now-Online</link>
				<description>
				
				I have put together a demo of my validations framework for ColdFusion that I have been &lt;a href=&quot;http://www.silverwareconsulting.com/index.cfm/2008/10/6/ValidateThis--An-Object-Oriented-Approach-to-Validations&quot;&gt;working on&lt;/a&gt; for the past several weeks.  It&apos;s available &lt;a href=&quot;http://www.validatethis.org&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.  The demo shows how the framework can take a simple xml file, which describes the business rules for an object, and generate client-side and server-side validations on the fly.  It is a proof-of-concept, running in an environment identical to that which would be used in a real application.  It is a simple, one-page example, but is utilizing &lt;a href=&quot;http://www.coldspringframework.org/&quot; target=&quot;_blank&quot;&gt;Coldspring&lt;/a&gt; and &lt;a href=&quot;http://www.transfer-orm.com/&quot; target=&quot;_blank&quot;&gt;Transfer&lt;/a&gt; behind the scenes.&lt;/p&gt;
&lt;p&gt;From the demo page one can view the xml file that is being used to drive all of the validations.  The schema for this file is still a work in progress, but it provides some insight into how one would implement the framework.  Note that the schema itself is somewhat irrelevant, as the framework is designed to accommodate any schema, as long as it contains the expected metadata.  Also, as a result of a conversation I had with &lt;a href=&quot;http://www.quackfuzed.com/&quot; target=&quot;_blank&quot;&gt;Matt &quot;I hate xml&quot; Quackenbush&lt;/a&gt;, I have added the ability to define validations using ColdFusion code inside either your business object or another object injected into your business object.  This is not something that I&apos;d probably use, but I was led to believe that there are those out there who would appreciate not having to write an xml file to define their validations.  [More]
				</description>
				
				<category>ColdFusion</category>				
				
				<category>ValidateThis</category>				
				
				<category>OO Design</category>				
				
				<category>cfUniForm</category>				
				
				<pubDate>Fri, 10 Oct 2008 08:50:00 -0400</pubDate>
				<guid>http://www.silverwareconsulting.com/index.cfm/2008/10/10/ValidateThis--Object-Oriented-Validations-Demo-Now-Online</guid>
				
			</item>
			
			<item>
				<title>What the heck is an optgroup?</title>
				<link>http://www.silverwareconsulting.com/index.cfm/2008/9/9/What-the-heck-is-an-optgroup</link>
				<description>
				
				Although I&apos;ve been developing web applications with ColdFusion for about a decade, I only discovered the existence of this html tag a few days ago, and it&apos;s way cool.&lt;/p&gt;
&lt;p&gt;I&apos;ve been reading up on creating accessible forms, and &lt;a href=&quot;http://www.websemantics.co.uk/tutorials/accessible_forms/&quot; target=&quot;_blank&quot;&gt;this article&lt;/a&gt; made the following suggestion:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Complex selects, with more than 11 options, should be coded with option groups and labels.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And contained the following example:
&lt;label for=&quot;favcity&quot;&gt;Which is your favourite city?
	&lt;select id=&quot;favcity&quot; name=&quot;favcity&quot;&gt; 
	&lt;optgroup label=&quot;Europe&quot;&gt; 
		&lt;option value=&quot;1&quot;&gt;Amsterdam&lt;/option&gt; 
		&lt;option value=&quot;3&quot;&gt;Interlaken&lt;/option&gt; 
		&lt;option value=&quot;4&quot;&gt;Moscow&lt;/option&gt; 
		&lt;option value=&quot;5&quot;&gt;Dresden&lt;/option&gt; 
	&lt;/optgroup&gt; 
	&lt;optgroup label=&quot;North America&quot;&gt; 
		&lt;option value=&quot;2&quot;&gt;New York&lt;/option&gt; 
		&lt;option value=&quot;6&quot;&gt;Salt Lake City&lt;/option&gt; 
		&lt;option value=&quot;7&quot;&gt;Montreal&lt;/option&gt; 
		&lt;option value=&quot;13&quot;&gt;Toronto&lt;/option&gt; 
	&lt;/optgroup&gt; 
	&lt;optgroup label=&quot;South America&quot;&gt; 
		&lt;option value=&quot;8&quot;&gt;Buenos Aires&lt;/option&gt; 
		&lt;option value=&quot;9&quot;&gt;Asuncion&lt;/option&gt; 
	&lt;/optgroup&gt; 
	&lt;optgroup label=&quot;Asia&quot;&gt; 
		&lt;option value=&quot;10&quot;&gt;Hong Kong&lt;/option&gt; 
		&lt;option value=&quot;11&quot;&gt;Tokyo&lt;/option&gt; 
		&lt;option value=&quot;12&quot;&gt;New Dehli&lt;/option&gt; 
	&lt;/optgroup&gt; 
	&lt;/select&gt; 
&lt;/label&gt;  [More]
				</description>
				
				<category>ColdFusion</category>				
				
				<category>cfUniForm</category>				
				
				<pubDate>Tue, 09 Sep 2008 07:25:00 -0400</pubDate>
				<guid>http://www.silverwareconsulting.com/index.cfm/2008/9/9/What-the-heck-is-an-optgroup</guid>
				
			</item>
			</channel></rss>