I think I would like to use some kind og MVC (Model-View-Controler). But I don't want to use a standard framework like fusebox. I think that it is too complex for my porpose. Instead I will have a controler that calls the data and apply it to the View. But I don't know how this should be programmed.
Just like you mentioned > > To make this basic though you would call the method of your data > retrieval as part of your controller, then use the return (a query I > assume?) to populate your view. But how to program this? Any one that can schetch this for me? Controller.cfm <cfinvoke component="Foods" method="getFood" returnvariable="retGetFood" /> <--- Get the data ---> <!--- But how to pass this to the viewFood.cfm ?? ---> Any Ideas? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:290735 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4