Hello All,
I've gotten into the habit of beginning a page by creating an object:
<cfobject component="#application.cfcpath#reviews" name="reviews">
Below that, I use any number of cfinvokes thusly:
<cfinvoke component="#reviews#"
method="getTopTenTitle"
campus = "#URL.Campus#"
returnvariable="qGetTopTenTitle">
In the component I'll have functions that are not called by the page. They are
used by other pages.
When I turn a component into an object am I needlessly calling all the
functions inside that component and is this not a good idea?
Thanks in advance,
John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3580
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15