More CFC Best Practice questions

2005-08-29 Thread Burns, John D
I'm getting ready to start a new app and there are some things I've learned from other apps that I'm going to implement into this app as far as CFCs go. I saw the thread concerning the THIS scope which helped to get some different people's takes on its use. I was wondering if anyone else would

Re: More CFC Best Practice questions

2005-08-29 Thread Dave Carabetta
On 8/29/05, Burns, John D [EMAIL PROTECTED] wrote: I'm getting ready to start a new app and there are some things I've learned from other apps that I'm going to implement into this app as far as CFCs go. I saw the thread concerning the THIS scope which helped to get some different people's

Re: More CFC Best Practice questions

2005-08-29 Thread Barney Boisvert
First, if your shared-scope components are carefully designed, chances are good that you won't have any CFLOCKs anywhere outside your CFCs except to protect their initialization. Seriously. The only place you need to lock is where you have race conditions, and those race conditions can only

Re: More CFC Best Practice questions

2005-08-29 Thread Brian Kotek
I wrote an article on CFC best practices that might be helpful: http://www.briankotek.com/blog/index.cfm?mode=entryentry=104F4985-3048-23C1-DDF6C15FB4864387 On 8/29/05, Dave Carabetta [EMAIL PROTECTED] wrote: On 8/29/05, Burns, John D [EMAIL PROTECTED] wrote: I'm getting ready to start a new

RE: More CFC Best Practice questions

2005-08-29 Thread Burns, John D
scoping. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 1:53 PM To: CF-Talk Subject: Re: More CFC Best Practice questions On 8/29/05, Burns, John

cfc best practice questions

2003-01-09 Thread mynews
OK, I just upgraded to CFMX and I am trying to figure out the best way to handle a form. Usually, in an admin area, I have an action page that handles the add/update/delete for data in a table. This is the action page for the add update form. As an example I may have 3 pages: view

cfc best practice questions

2003-01-09 Thread David Tobey
I don't know what others would say but we've found it useful to put all the queries, server-side form validation, and business logic in one or more cfcs. Then the action page just acts a controller, taking in the action that was requested and calling the appropriate function(s) in the cfc to