Re: Separating code from layout

2001-06-16 Thread Gerald Richter
D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Jochen Lillich" <[EMAIL PROTECTED]>

RE: Separating code from layout

2001-06-15 Thread Jack Cushman
Hi, The way we usually do it is with 2 embperl files -- 1 for code and one for layout. The code file loads all the data and then calls the other. For example: index.epl: [- use DBI; foreach $key (keys %fdat){ #handle form input } #load database

Separating code from layout

2001-06-15 Thread Jochen Lillich
Hi, with the Template thread going on and me looking for a suiting solution of separating site code from site layout, I'd like to ask you for examples how you do that with Embperl. The embedding of Perl into HTML makes it possible to use Perl in the way PHP does things. That's a great gain compa