i think something like makeQueryFromList() makes a good function.. cfc's are
more for structuring the meat of your application in an OO-ish way.  seems
like that way basically you'll end up with a cfc for each major db table..
one for users, one for projects, etc.  You can use cffunction independant of
cfcomponent, though, to make functions that use cf tags.. so you aren't
limited by the cfscript syntax.  Like the other cfscript functionality,
you've got a tag way to do it too.

dunno 'bout performance.

ken

-----Original Message-----
From: Joshua Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 12:52 PM
To: CF-Talk
Subject: CFMX - Function Best Practice ?


Hello,

I'm a little confused with all the new CFFUNCTION ability in CFMX - I
know it's more extensible than UDFs as it can be used for WebServices,
etc., but what is the best practice for creating functions? Are UDF
functions going by the wayside after such a short lifespan or do they
serve two seperate purposes now? Is it best to use CFC or UDF when not
needing remote consumption or access? Is there a processing difference
between the two?

Thanks,

Joshua Miller
Web Development :: Programming
Eagle Web Development LLC
www.eaglewd.com <http://www.eaglewd.com/>
[EMAIL PROTECTED]
(304) 622-5676 (Clarksburg Office)
(304) 456-4942 (Home Office)



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to