> oh, John, I forgot to mention that your method also hides a CFLOCATION
> inside the act_ file, so the structured complexity is +1 and the
> unstructured complexity is also +1. It's a winner all round!!!
>
Thanks, the full XFB method hides a lot inside the included file, in fact
it usually hides (gasp!) the entire code for the fuse within only the fuse
file, treating like a complete black box.
You know, if one scores a +1 for structured complexity and +1 unstructured
complexity and we assume (from your implication) that higher complexity
scores are not to be preferred, then perhaps we can just put everything in
the index.cfm. No need for a CFswitch and we'll score a +0 for index.cfm,
we'll have a completely uncomplex file that is 30,000 lines long. :)
As Hal has said any number of times, if you're in a one-man shop or you've
got a handful of junior developers all in one location, and you act as
architect, project manager, DB guy, and pizza delivery man, then absolutely
the full XFB has overhead and redundancy built in up the wazzoo, and there
are gonna be parts that don't add immediate value. But if Hal's quoted
statistics are correct (70% of software projects fail, and 80% of the total
costs come in maintenance not development), then XFB's ability to have a
developer only have to have one file open in Studio at a time is a godsend ,
particularly in a distributed enviroment. Not everyone is as bright as you,
Lee; the goal isn't to create more work for you, presumably charging a lot
per hour, but to distribute that work amoung lower level coders who can be
bought for a fraction of the price. The money saved thereby goes directly
into my, err, i mean, the client's pocket.
I think projects that are maintainable, expandable, standardized, readable
by non-team members, come in earlier than expected and way under budget,
they can have any darn complexity score they like. I believe XFB pushes a
project in all of those positive-result directions, and I heartily encourage
the skeptics to actually do a full non-trivial project with XFB, whatever
your former good habits are, to see for themselves.
(Hal, you can just drop a check to me for my public relations services today
in the mail. TIA)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists