I'm not going to jump on the Fusebox methodology bandwagon (though I do
use it, and it's decent, but I do not necessarily recommend it those new
to ColdFusion), but I will say that the idea behind Fusebox is a sound
one that you want to encompass. You need to break your file up. First
of all, it makes your code more maintainable. Secondly, there's very
little overhead by doing so. Additionally, multiple files is the norm
in the industry, so unless your going to be working for the same company
all your life, and they never change methodologies, you want to gear
your "education" towards what is most useful (whether it's
page1.cfm->page2.cfm->page3.cfm or
index.cfm?fuseaction=1->index.cfm?fuseaction=2, etc.).
I will caution you, and I've said it before:
Be very careful about separating language from methodology. Whether you
keep an application the size of Amazon in one big .cfm file, traditional
linear development, FuseBox, CFObject, JoeBox, BillObjects, or whatever,
make sure you can separate that from CFML itself. However, if you feel
very comfortable with your overall knowledge of ColdFusion, by all
means, try different methodology (just don't become a card-carrier :)
--
Billy Cravens
[EMAIL PROTECTED]
W Luke wrote:
>
> Hi,
>
> I'm 5 weeks into Cold Fusion and have a question for the Experienced Masses.
>
> So far in my programming, I try to keep all the code in one file as much as
> possible. For example, if I have a form that is used as part of a Query,
> then I'll obviously "post" that form' data to the same page, resulting in a
> number of <cfifs>.
>
> However, at what stage would you suggest that this isn't a good idea? I've
> been doing a small sub-project today which is about 400 lines long, and by
> 17:00 will be considerably bigger. Is this a case of "whatever suits you
> best?"
>
> I'd be interested to hear everyone's opinions.
>
> Will
>
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.