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 compared to CGI scripts, and
puts Perl in the same league as PHP. But here and there, code and
layout still are intermixed.

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.

Even if I put the core functions into include files or encapsulate them
into objects, the .epl page still has to call them. This means, the web
designers have to integrate Perl calls defined by the developers into
their page layout.

It's the same with Embperls automatic table feature: While simple
constructs like loops can't be avoided (HTML::Template or Template
Toolkit use them, too), I'd rather not put the data gathering code for
the table in the same file.

TT seems like a viable solution to me. But is there a clean way of
integrating it with Embperl pages? Since Embperls reputation is very
good, I guess I'm lacking some vital information how Embperl can be
used for bigger web applications.

How do you achieve a real and thorough separation of content/code/layout? 
I'd be glad to learn from existing code: Are there downloadable examples
of real-world Embperl applications where this is done?

TIA,

        Jochen

-- 
----------------------------------------------------------------
 *Jochen Lillich*, Consultant/Trainer @ /TeamLinux GbR/
 Rheinstr. 26, 76676 Graben-Neudorf, Germany
 Tel. +49 7255 76784-12, Fax -50, http://www.teamlinux.de
----------------------------------------------------------------

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

Reply via email to