(viewpoint from a "satisfied customer")

I shocked some of my co-workers the other day by pointing out what
we're building with our large enterprise app isn't OO at all - it's
boring old procedural code on steroids - using CFC's everywhere. And
it still follows the model/view/controller ideas.

we've got a kernel.cfc as the mutha singleton; 6 diff controllers;
dozens of services with their matching persists. 163 CFC's so far
(about 25% of the app is finished) and it works like a charm.

we *had* to do this. When we first started, MACH II was still new and
there wasn't much info on how to use CFC's to their fullest. Coupled
with most of the existing programmers here were struggling with
Coldfusion as a new language let alone from understanding OO concepts
from their procedural 4GL world.

What's the diff? we don't have listeners - just specific methods that
are called. We pass structs as arguments, not objects. There's
bugger-all data stored within the CFC's themselves. We heavily use the
decorator pattern, not inheritance.

and thru all of this, cfczone has been a big help.

would we do things differently today? yeah, probably with Mach-II but
this has been a learning curve with the bosses too (only recently we
found out the legacy windows app will no longer run side by side - so
now we *can* store instance data without being "backdoor"-ed. Pity we
didn't know this 12 months ago..).

write some functions, stick 'em in a CFC. Organise them later into
some structure. It mightn't be OO yet but it's still smart
programming....

my 2c
barry.b







On Apr 5, 2005 2:19 PM, Scott Barnes <[EMAIL PROTECTED]> wrote:
> Well so long as my title "MM-crybabey-winbag" is still held in check,
> thats all my concern.. its a hard title to maintain and i've taken a
> lot of time and energy to uphold it ;) heh
> 
> On Apr 5, 2005 1:43 PM, Mark Mandel <[EMAIL PROTECTED]> wrote:
> > I don't think it counted as a contender. Half of it was MM Documentation.
> >
> > ;o)
> >
> > Mark
> >
> > On Apr 5, 2005 1:07 PM, Scott Barnes <[EMAIL PROTECTED]> wrote:
> > > hmm...
> > >
> > > I thought i typed long replies..but damn.. *steps aside*.
> > >
> > > heh.
> >
> > --
> > E: [EMAIL PROTECTED]
> > W: www.compoundtheory.com
> > ICQ: 3094740
> >
> > ----------------------------------------------------------
> > You are subscribed to cfcdev. To unsubscribe, send an email to 
> > [email protected] with the words 'unsubscribe cfcdev' as the subject of 
> > the email.
> >
> > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
> > (www.cfxhosting.com).
> >
> > An archive of the CFCDev list is available at
> > www.mail-archive.com/[email protected]
> >
> >
> 
> --
> Regards,
> Scott Barnes
> http://www.mossyblog.com
> http://www.flexcoder.com (Coming Soon)
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to 
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the 
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]


Reply via email to