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 info...
        $name = #get name
        $date = #get date
        $size = #get size

        Execute('index.ht', $name, $size, $date);
-]

index.ht:
[-
        $name = $param[0]; #the user's name
        $size = $param[1]; #the user's shoe size
        $date = $param[2]; #last login date
-]
        <html>
        <body>
        </body>
        </html>


Given a file like index.ht, the designers never have any trouble creating
the layout and filling in [+ $name +] wherever the username should go.

--Jack

-----Original Message-----

Hi,

My goal is to make it possible to employ different teams for coding
and layout. There should be no big hassle with exchanging interface
information.

TIA,

        Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to