Thus, to me, providing another layer of abstraction on 
> top of
> this to make everything look like it's event-driven seems to be 
> potentiallyfraught with hazards.

Well, I do think it works quite well.  And MS themselves tell you, that if you don't 
need the functionality, don't use it.  They're the first to tell you not to abuse the 
model, because it does come with a cost.

Anyhow, all abstractions come at a cost, and all abstractions are leaky.  Including 
things like CF.

> 
> > None, really. However, events happen all the time in the 
> > real world. Your car explodes. Frogs fall from the sky.
> 
> Somehow, I don't think that's how people came up with the idea of 
> the GUI
> application.

Nah, it was probably paper forms.

> 
> > Well, this is the same case in traditional desktop GUIs as 
> > well!  There's absolutely no correlation between, say, the 
> > code you wrote for a pretty Swing window and the pixels that 
> > appear on the screen, other than the code that declares it. 
> 
> Perhaps, but the illusion certainly seems more real with a desktop GUI
> application, since the surrounding desktop itself follows the same 
> illusion,and it's possible to develop GUI applications without 
> knowing anything
> beyond the illusion.

Well, this has only been the case recently.  I think some of the Unix windowing 
systems and then Java took huge strides towards this, and everybody else has been 
following suit.  But there was a time (a long time) where, yeah, you had to worry 
about the underlying details, and it was a big issue.

> I don't think that's true for web applications.

Not yet.  But it'll happen.  We're getting closer every day - Java Applets, web 
services, Flash MX, etc.  And we have things like CF, which already abstracts a ton of 
stuff for server side programming (and some on the client side).

> 
> > I'm not a huge "if" fan when I'm using an OO language.  
> > Anytime I write something like:
> > 
> > if (condition) {
> >  do this
> > }else 
> > {
> >  do that
> > } 
> > 
> > I consider it a candidate for refactoring.
> 
> That actually strikes me as the best argument yet in its favor.

Come on, now you're just testing me :)



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to