> I can see how a CFC can get large as is it supposed to be a library
> of like functions, so if you had a site that had a calendar that was
> cfc based (for instance) and you had all of you calendaring functions
> in that cfc, that could get huge.  Would you really want to break up
> the functional unit into separate CFC's?  Would that be any more
> efficient than having them in one big file (as long as they were all
> related of course).

Differences would be minimal with regard to how the server handles it -
on my end however, I find that it's easier to work with smaller files, 
whether they're related or not. So in my case, I'd actually prefer if 
I had a library of calendar functions for example, to have a folder 
with several actual files, and I may choose to create a separate file 
for each function or to just group the functions into several different 
categories. For inclusion's sake I would probably create a "wrapper" 
to load the set -- just a single file that includes all the other 
functions. 

Although in my case when I'm working on my own projects the 
onTap framework has a library manager/loader that expects (mostly) 
each file to contain just the one function and then also uses that same 
file to provide documentation for itself. So when you look at the 
documentation for the framework in a browser, there's a page of docs for
each function library where it's actually including each file in the 
library to show its docs. Helps to keep things tidy, although of course
there are always a few bugs in the docs. 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 617.365.5732

http://onTap.riaforge.org/blog



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Talk/message.cfm/messageid:306852
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to