Can someone briefly explain the benefit of a cfc versus a custom tag...

Organization of code... I just finished writing up a CFC to "build" pages that take care of data in lookup tables (the standard list/add/edit/delete) which I send 8 variables and it generates the entire page with a single call.

That can be done with a custom tag, the biggest difference is the fact that the CFC is loaded into memory once when the application starts (first page hit) and stays in memory until the application times out; a custom tag has to be called and loaded every time.

That's just one answer though, I'm sure others will have more!
Hatton
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm


  • cfc Kevin Fricke
    • Re: cfc Matt Woodward
    • Re: cfc C. Hatton Humphrey
    • Re: cfc Reginald . Schwoch

Reply via email to