Geeks With Blogs
Chris Smith My blog for anything tech

So I’m a huge fan of a Generic Template Pattern in .NET but with ColdFusion and am faced with a challenge.  How to implement inheritance and polymorphism in ColdFusion.  Adobe has a great article on the basics of inheritance in ColdFusion.

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=buildingComponents_30.html

In this article they extend an Employee.  There are 3 types of employees.  Employee, manager, and president.  President extends manager, manager extends employee.

Go to the site above and create this example.  (or you can download mine from CodePlex)
ColdFusion\Skyhook_ColdFusion_TemplateMethod

Posted on Tuesday, December 11, 2012 4:14 PM | Back to top


Comments on this post: CFC Inheritance in ColdFusion

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © csmith18119 | Powered by: GeeksWithBlogs.net | Join free