On 1/15/06, Casey Dougall <[EMAIL PROTECTED]> wrote:
> I want to find something with some real nitty gritty, down and dirty
> examples of how to use CFC's. Just one solid example that shows how a
> CFC can be used with display, update, delete & add functionality. It

Well, the generally accepted "best practice" is that CFCs should *not*
output anything... In MVC - Model View Controller - the Model is
typically all CFCs, the View is typically all CFML pages and the
Controller is a variety of technologies (depending on what framework,
if any, you are using).

> must grab information from a database and the CFC's must invoke other
> CFC's in the process. For dessert maybe show 3 examples envoking the
> CFC to display the information on multiple platforms. cfml, flash,
> webservice

A CFC that provides Flash Remoting / Web Service access simply
declares methods with access="remote" and there are plenty of examples
of that on macromedia.com in the ColdFusion and Flash/Flash Remoting
Developer Centers.

There are also several "intro to CFC" articles on the Developer Center
that would really help you.

The Fusebox bookstore app is a good example of using CFCs for the model.

You might also want to download my Frameworks presentation and the
accompanying code. See the "Software" pod on the right hand side of my
blog.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229710
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

Reply via email to