I like OO.  I don't do full OO models in CF much.  Java (where I spend
the most time outside of CF) is a different story - and one where I
have tools such as Hibernate  ;).  I really just wanted to comment on
this statement:

> In addition, with the business
> objects we deal with, it seems unnatural for them to have behaviors, unlike
> a car being able to "start()".

We don't have cars, but we do have documents (which might publish()),
user credentials (which might expire()), trouble tickets (which might
close()), etc.  Building a truly OO object model is incredibly
difficult, because it necessitates a sharp departure from the
procedural mindset that we are all forced to deal with on the web.
And when I say "incredibly difficult", I don't mean just for
beginners, I mean for everyone.  It gets easier as you practice (like
anything else), but I don't think it ever gets easy.

cheers,
barneyb

On 8/29/07, Justin Treher <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I was browsing around some old OO ColdFusion posts and saw a lot of talk by
> "Tom MInderson". It seems like he has about 50 posts spread out (by doing a
> quick Google search). They all pretty much say the same thing:
>
>
>
> OO complicates things for datacentric applications that ColdFusion is
> targeting. I.e. we don't control cars or automatic garage doors. Then he
> goes on about this "Set Theory".
>
>
>
> The only thing I could find on set theory with Coldfusion was at
> http://cfdj.sys-con.com/read/41826_p.htm
>
> … the most complex ColdFusion article ever.
>
>
>
> Is anyone familiar with his anti-web app OOP mission? Do his arguments have
> any validity? What the heck is set theory programming? I felt like I was
> stepping back into philosophy 101 with syllogisms.
>
>
>
> I do see his point that trying to map objects to a relational database is
> where OOP starts to feel really unnatural. In addition, with the business
> objects we deal with, it seems unnatural for them to have behaviors, unlike
> a car being able to "start()".
>
>
>
> Justin
> You are subscribed to cfcdev. To unsubscribe, please follow the instructions
> at http://www.cfczone.org/listserv.cfm
>
> CFCDev is supported by:
> Katapult Media, Inc.
> We are cool code geeks looking for fun projects to rock!
> www.katapultmedia.com
>
> An archive of the CFCDev list is available at
> www.mail-archive.com/cfcdev@cfczone.org


-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.


You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org

Reply via email to