Use a remote CFC facade for your components if you want to expose them via Web services.
>I don't call CFCs directly. In the case of a login form, I would have >the form submit to itself, then have the application.cfm file handle >security. > >Within app.cfm, I would use CFCs to authenticate the user. > >I just don't really get that warm, fuzzy feeling by calling CFCs >directly, although I may do that with some AJAX stuff we are building. >At least, that would give me some code reuse. > >M!ke > >-----Original Message----- >From: Larry C. Lyons [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 17, 2005 10:35 AM >To: CF-Community >Subject: OT: CFCs and architecture question > >Sorry about the OT but had a question about approaches to CFC's and was >wondering how you'd approach it. > >I have a login and logout CFC for the secure parts of one of our >websites. What would be better have the form directly call the CFC >directly, and have the CFC relocate the user to the appropriate page. >Or have an action page call the CFC and then relocate the user to the >appropriate page. > >In order forms to be able to direclty call, the access would have to be >set to remote, which is something I don't necessarily like. >Alternatively I could set up another CFC to call or extend the login >CFC. > >How would you all approach this. > >thanks, > >larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:169930 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
