Iâm about to construct a new Coldfusion application and I want do use an object orientated approach. But I donât know how I should do this.
I have read the article written by David Friedel. Building an object oriented user interface with Coldfusion MX http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html He tells about the principles but not the actual development I have created a cfc library containing data retrievers. These cfcâs should provide my UI with the necessary data. Now Iâm about to construct the User interface (UI) but I donât know how I should combine the user interface with the data. I plan to split the UI in small function (Widget) just like in the article. Maybe I will have a grid showing some employees The UI part I would then insert into either a cfm or cfc. If I put it into a cfm and use CFINCLUDE to use it I canât pass the data query to it. But then if I put into a cfc and use CFINVOKE I can pass the data to it. But then the cfc will fail because it uses the CFGRID and I donât intent to insert a CFFORM into each cfc. How do you do this? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

