> Interesting, want some feedback? > - Not happy about your repeated use of evaluate in the > base object > - have you created any real world HTML pages using this? > I would be interested to see how much code is required to > generate a complex html page
If done well, it shouldn't take much code to generate a complex html page (actually less code, since the abstraction layer can encapsulate some complex functionality into more discrete xhtml tags). The onTap framework already has a reasonably mature equivalent of this (although it doesn't use CFC's partly for performance reasons), which works pretty well and already includes a good amount of DOM/dhtml functionality. My first concern with this particular approach would be the efficiency of using CFC's for this purpose. The onTap framework equivalent uses cached functions, structures and arrays, which are more efficient and is in some cases still noticeably slower than the alternative. There are advantages of course (the display is very modular which makes a lot of DOM/dhtml functionality real easy to build, plus combining user-interfaces is a dream), otherwise I'd just use flat html. The framework provides caching features, which I would expect would be just about required to make a CFC equivalent efficient enough to be viable. I wrote an article about some of the concepts of an html/xhtml abstraction layer in the CF Developer's Journal recently. You can find all my CFDJ articles in the second url in my sig below. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211261 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

