I'm a fusebox developer of sorts, but as I've always said: I never stick to
any of the fusebox versions in full. I like to call my version of the
methodology "Extended Fusebox (Taz edition)"

Steve likes to call it "Tazbox Fusabix 2.999..."

What it means is that I've taken a bunch of the core concepts of Fusebox 2,
with a couple of decent ideas from 3, ignored 4 altogether, sauteed, and
then boiled for 5 minutes whilst adding some seasoning in the form of my own
ideas, then served with a side salad and a 24 pack of Guinness.

It's a methodology, its maintainable and it has kept me in business for
several years without bother.

As for the original point of this thread, if I have a query that's used on
every request it goes in qry_globals.cfm in the root of the site. If I have
a query that 2 or more circuits use, I duplicate the file. I don't see a
problem with this. It means that you can take a circuit and dump it in a new
application without any bother, and although it's essentially duplication of
code, it's not more work.

You could argue that this means doubling the work (well, copying a file) if
you come to change the query somewhere down the line, but I think it's not a
bad thing. Presumably, if you're going to modify an application you're only
likely to work on one circuit at a time. So if you have shared queries, you
could be working on one circuit, change the query and break another circuit
that's sharing the file.

On the other hand... toast and marmite. Vile stuff! You have been warned.

Taz


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to