Hello,

A newbie question that I hope you can help me with.

I put around 35 cffunctions in a single cfc.  These functions are primarily 
SELECT, UPDATE or DELETE queries that are called from around 10 different 
pages.  The pages reference each other in sequence, i.e., insert1.cfm --> 
insert2.cfm --> insert3.cfm, etc.  Any one of these pages will call 1-5 
cffunctions from the cfc. 

At the head of each page, I instantiate the component:

<cfobject component="#application.cfcpath#lessonplan" name="lp">

So the question: Would it be better to write separate components for each 
calling page?  Not sure if it would better to instantiate one big cfc or a 
bunch of little ones.

Any advice would be greatly appreciated.

jahlen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2619
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to