Take a look at the example application called
Slot-O-Matic at http://www.fusium.com.  

They have it in two flavors, plain CF and a CFC
version.  The CFC version uses a simple MVC pattern.
It uses a controller.cfc and view.cfc as one model
(slotomatic.cfc).  Everything is run through
controller.cfc (index.cfm, form posts, etc.) Just to
note, this sample does require output="yes" for even
the controller.cfc.

I came across this little example before I got
involved in MachII.  In fact, I converted this app to
MachII as a proof of concept.

-mk


--- Ian Skinner <[EMAIL PROTECTED]> wrote:
> Yes, I had noticed my data being shown as a WDDX
> packet.  Not a bad thing if
> I could just get the packet back to the display
> logic where I need it.
> 
> Could you expand a little more on this technique in
> Pollster?  I
> unfortunately do not have access to any DRK.  I was
> beginning to think along
> these lines. I could easily imagine an intermediate
> CFC between the form and
> the business logic.  But I was stuck in that if the
> form called CFC A as
> it's action and CFC A called CFC B to do it's
> processing and returning it's
> data to CFC A... Well now I'm just stuck in CFC A
> with now way to get back.
> So would be it good, or at least OK, design to have
> CFC A be some kind of
> display layer CFC that process the results and
> displays them? 
> 
> Any other Idea's how this could work? 
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send
> an email
> to [EMAIL PROTECTED] with the word 'unsubscribe
> cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and
> supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to