>
> some of the more recent web application frameworks (ie,
> Apache::PageKit, AxKit), tout one of their benefits as being the
> ability to generate multiple display formats easily because they
> separate information, business logic and display logic.
>
> I was wondering how easy it was to create WML, XML, PDF as well as
> HTML for a set of webpages.
>
>

You can do a separation of information, business logic and display logic
with Embperl too, but don't have to. Embperl 1.x allows you to embed Perl
code in html, so you can restrict yourself to using only a small subset of
Perl, that is necessary to dispaly the page. All the code you put in a Perl
module and the data can come from where ever you like, like a database.
That's basicly the same as TemplateToolkit does it, the main difference is
that you are using Perl instead of TT's own language. Embperl 1.x don't have
a build in XSLT as AxKit has. With EmbperlObject you have a very powerfull
framework to put the pieces together.

Embperl 2.x have much more possiblities. You can define your own taglibs
that your designers use to trigger the code your programmers have written,
so you have a separation of code and design. You could even define tags that
are similar to TT's ones, so you have the same way of creating pages.
Embperl 2.0 will also include support for XML and XSLT (which isn't in the
current beta yet). So with Embperl 2.0 you have the choice which is the best
technic for which part of your site.

At the moment there are no direct support for different languages, but tags
for switching languages could be easily implemented with EMbperl 2.0 (and
will be at some point of the 2.0 developement). In Embperl 1.x you can use
the different ways that Perl provides to support localisation.

Hope this helps

Gerald




-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------





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

Reply via email to