1 |
Hi, |
2 |
|
3 |
On Wed, 03 May 2006 08:59:23 -0500 |
4 |
Michael Sullivan <michael@××××××××××××.com> wrote: |
5 |
|
6 |
> I know about event-driven programming (I wrote in VB for years before I |
7 |
> achieved the enlightenment of Linux), but I didn't know that it was |
8 |
> possible with PHP. I use event-driven techniques in Gambas and qt. I |
9 |
> always thought squirrelmail code was like that for security purposes... |
10 |
|
11 |
I never heard of it as "event driven programming", but I think what it |
12 |
should refer to is the MVC pattern. The "events" for web applications |
13 |
are of such a homogenuous nature that it has no worth to think of it as |
14 |
"event driven". One needs a good understanding of MVC and the |
15 |
Doc/Controller model (and serialization of state data) for building |
16 |
fine complex webapps whose overall logic should keep being |
17 |
understandable. |
18 |
|
19 |
On the opposite, if you've just a plain simple page to display, MVC is |
20 |
definitely way too heavy. |
21 |
|
22 |
-hwh |
23 |
-- |
24 |
gentoo-user@g.o mailing list |