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