Iterator Objects in CFMX

Posted by Dan on Apr 11, 2003 @ 10:00 AM

This is the second part in a series on design patterns for use with CFMX. I posting this because the idea of using iterators in CF appeals to me. I'm thinking about throwing together a generic iterator object which will convert any CFMX native variable type (array, query, string [list] and structure) into an iterator. This would definitely simplify looping constructs in CFMX, as you could use the same looping syntax for every variable.

Design Patterns in ColdFusion: Iterator Pattern (Part 2)

Categories: HTML/ColdFusion

Comments for this entry have been disabled.