On Wed, 2006-05-03 at 00:37 -0400, JimD wrote: > Michael Sullivan wrote: > > > What other style is there besides procedural? > > A much better way IMO is to separate the presentation from the code like > you can do with ASP.Net with Mono/MS. ASP.Net makes web app development > *event* oriented. You write event handlers to handle certain events > like a page loading or a button being clicked, just as you would do with > a GUI app, and you don't have to have all the markup spewed about in the > code. > > I will never go back to that old style of coding again. When I looked > at the SquirrelMail php I got the willies from how ugly it looked. All > I wanted to do was fix up the the ugly compose form. With an > event-driven web app, the code would have been separated and it would > have been real easy to make changes to. > > Jim > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > There's no place like 127.0.0.1 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > JimD > Central FL, USA, Earth, Sol
I know about event-driven programming (I wrote in VB for years before I achieved the enlightenment of Linux), but I didn't know that it was possible with PHP. I use event-driven techniques in Gambas and qt. I always thought squirrelmail code was like that for security purposes... -- gentoo-user@gentoo.org mailing list