Managed Hosting



CFModel - Custom Tag for MXML-Style instantiation of CFCs
Project Home Wiki External Project Link Contact Project

Author: RocketBoots (All RIAForge projects by this author)
Last Updated: May 24, 2009 8:54 AM
Version: 1.0
Views: 13,043
Downloads: 1,025
License: GPL (GNU General Public License)


CFModel is essentially a port of our favourite features of MXML into a single ColdFusion custom tag. Like ColdSpring and Lightwire, Model is used to create instances of CFCs and other types of data, but using MXML syntax.

Model supports:

* Simple binding;
* Namespaces (can applied to any node);
* Default array and text properties;
* A flat document namespace for id properties (just like MXML);
* Automatic parent-child relationship wiring for components implementing the provided IChild and IParent interfaces, and
* Nested composition of multiple model tags.


Tested on CF8, but CF7 should work.