On Wed, Aug 4, 2010 at 3:22 AM, Scott Stewart <sstwebwo...@bellsouth.net>wrote:

>
> I understand the "black box" principle of CFC's, make sure that your cfc's
> can stand on their own as black boxes. When doing OOP based development,
> does this paradigm
>
> extend to  non-cfc ColdFusion files, IE: display and action pages.
>

I think the concept of modularity and code reuse extends beyond OO.  In
views, when you find yourself reusing code, you throw it into an include.
 If it needs attributes passed in, you throw it into a custom tag.

There's nothing that I think is particularly OO about it... it's just about
working smarter and not harder :)

-- 
Charlie Griefer
http://charlie.griefer.com/

I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335978
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to