CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Perl 5.0 and perl 5.0 & Templates

Print topic Send  topic

Author Message
=?iso-8859-1?Q?S=F8ren?= Vejrup Carlsen
Posted: 03/13/2001, 9:09 AM

Dear CodeCharge.
What's the difference in functionality between Perl 5.0 and
Perl 5.0 & Templates?

Regards
Søren Vejrup Carlsen, The Royal Library, Copenhagen, Denmark

CodeCharge
Posted: 03/17/2001, 12:25 PM

CodeCharge generates several languages with or without templates.
In fact, it is not just a simple "switch", but very different concept.
Programs created with or without templates are generated and work quite
differently.
If you choose the templated option (ASP & Templates, PHP & Templates, Perl &
Templates, JSP & Templates), then CodeCharge will generate programs that
keep the HTML files separately from code files, ie. you will get 2 sets of
files: .html + one type of application files, either .cgi or .asp or .php or
..jsp.
You may give the .html files to your web designer and he can modify them
without affecting the code - he just needs to be instructed not to touch
special tags in curly brackets: {}

The generated programs that use HTML templates work as follows: they read
the HTML file and replace {special tags} with the dynamic content obtained
from the database; then they output the full HTML page at once. Such
programs may execute 2-3 times slower, but they are very convenient to
modify since the code is seperate from the design. The slower execution
speed shouldn't affect you unless you have a lot of page views per day (for
example 100,000+). In fact, some large websites store their whole HTML
design in the database.
In the near future, such templates may be replaced by XML/XSL processing.

Programs that do not use HTML templates, simply mix the HTML with the
programming code in each program. Such programs will execute faster, but
your designer may have to wait for the programmer to finish his job, and
it's easy for the designer to accidently mess up the programming code. Many
HTML design programs can mess up your code just by opening the program file.


"Søren Vejrup Carlsen" <svc@kb.dk> wrote in message
news:3AAE5468.C9910548@kb.dk...
> Dear CodeCharge.
> What's the difference in functionality between Perl 5.0 and
> Perl 5.0 & Templates?
>
> Regards
> Søren Vejrup Carlsen, The Royal Library, Copenhagen, Denmark
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.