I saw that too and thought it was a little strange at first.  However,
Christian clearly deliniated CFC's that are front end facade CFC's for HTML
and other facades for Flash which work with back end stuff.  The HTML facade
cfc's don't do any display all they do is act as a controller to handle the
form submission and then do a cflocation to the display template.

I wouldn't use the technique myself--I like a centralized controller ala
fusebox--but I think it's a neat technique and don't see anything wrong with
it.

Sam


----------------------------------------------
Blog:  http://www.rewindlife.com
Chart: http://www.blinex.com/products/charting
----------------------------------------------


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Todd
> Sent: Monday, August 11, 2003 7:45 AM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev]
>
>
>
> I was digging through the Macromedia "Pollster" application and saw
> something that made me cringe.  What's everyone's thoughts on
> having a form
> submit directly to a CFC?
>
> e.g.: <form action="/someDir/someCFC.cfc?Method=addPoll" method="post">
>
> Seems to me that by exposing the CFC in the form that we're allowing the
> end user to do a view source and "figure things out" -- I realize
> that the
> CFC is nothing more than a facade to a bigger thing, but still... we're
> exposing the method and CFC to it.  Am I the only one cringing at
> the thought?
>
> Thanks,
> ~Todd

----------------------------------------------------------
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).

Reply via email to