> There is no such thing as "event driven" programming.
> 
> All event driven programming, everywhere, is fake. It's an 
> abstraction created so that humans can model the world 
> better, and to solve certain problems.

Well, sure, but the illusion seems less illusory on a desktop than in a web
application. Thus, I submit that it makes for a more useful model for
desktop applications than for HTTP applications, where the request-response
model sticks out like a sore thumb.

I'm not sure that this abstraction allows humans to model the world better,
though; what is the equivalent of a GUI application in the natural world?

> If we consider a web page to be another GUI (which it is), 
> then it can make sense to have an event model for that page.  
> It turns out that ASP.NET is not the first to do this.  
> Netscape, in fact, started it with JavaScript. The 
> difference being, JavaScript deals with the event on the 
> client machine. ASP.NET deals with the event on the server.

Yes, a web page, by itself, can be thought of as a GUI. But there's a
critical difference between the web page (the stream of HTML that the user
receives) and the program that generated that page. It's not all of a piece,
and treating it as if it were may add unnecessary complexity if you already
know how web programming works.

> I find this remarkably handy. I can create a page with a 
> search interface. I have two search buttons. One uses the 
> criteria on the page. Another searches everything.
> 
> I then click on the search w/ criteria button (the button 
> raises an event that calls a method). The page does a 
> search with criteria (the method is run). Now, I click on 
> the search all button. The page does a search all. Nice and 
> tidy. No if statements that try to figure out which button 
> I pressed.

I frankly don't see this as any simpler than just using the if statement. I
think that if I were more of a desktop programmer, I'd be all over ASP.NET,
though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to