[ZPT] Content/Presentation Separation

Godefroid Chapelle gotcha@swing.be
Fri, 26 Apr 2002 10:23:47 +0200


At 17:10 25/04/2002, Florent Guillaume wrote:
>The big advantage over your method is that displayform_getdata can be
>called from several different page templates, so I can factor out code
>easily.

How do you do when you want to reuse template ;-) ?

What I mean is that if you want to factor out both code and presentation, 
you get some overhead.

There are no reason that the Python Script traversed should not call any 
factored out Python code.

>Florent

--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901
Mob + 32 (477) 363942

TVA 467 093 008
RC Niv 49849