On Fri, Nov 13, 2009 at 4:58 PM, Maureen wrote:
>
> I agree with a lot of what he says.  I was already a programmer before
> the web existed, and have a strong understanding of OO, but I rarely
> see a need to use the more complex OO concepts to build a simple data
> driven web site.

Heh.  Rarely have I had a simple data driven website that didn't
eventually become un-simple.

You're of course correct tho, KISS.  And if you KISS in the "right"
way, scaling isn't so problematic.

Not that I've hit on *any* "right" way, but after years and years,
/some/ stuff pops out at me and says "you're gonna need this".

> My basic rule is to separate data interaction from display, so I make
> a CFC to handle all database activity for a table, and call the same
> CFC from all displays and reports.  I will occasionally overload a
> function by making the parameter optional.  I treat the CFC much like
> a .Net or Java class, but inside it really just straightforward CFML.

Hey, that sounds like a design pattern!  Oh lord, not design patterns!
 They're as bad as "objects"! :)

> It works, it's easy to write, debug and maintain, and more importantly
> to me, it's my code and not some convoluted mess created by a
> committee of programmers.
>
> Best practices is also about knowing when NOT to use a particular
> tool.  You don't need a jackhammer to thread a needle.

Typical feminine response.

If you saw the size of these needles, you'd want a bigger jackhammer.
Or maybe a hydraulic press.

/me ducks

Hehe.

The C++ parody link that was in those comments was classic!

-- 
Willing or preferring is the same with respect to good and evil, that
judging is with respect to truth or falsehood.
Anthony Col

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:307895
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to