Posted by "Jonathan Villa" on 07/29/05 21:26
<quote who="Vicente Werner">
> I take a completely different approach. My applications work mostly
> like real gui applications, so each page the user sees is composed by
> a group of components and small templates rendered ina hierarchical
> way. Each template includes all the presentation logic for it, so the
> only effort from the php side is to pass all the data the template may
> need. Also I isolate myself as much as possible from the environment,
> so I get the data always trough functions or specially prepared arrays
> already filtered and secured.
>
whatever works best for you... but "Each template includes all the presentation
logic for it" concerns me...
what if you had to change shell/template? wouldn't you have to then redit the
every single page?
Navigation:
[Reply to this message]
|