|
|
|
TekBlend is a new Perl-based internet/intranet engine for building dynamic,
customizable, scalable applications for the web. TekBlend leverages on the power of
Perl and provides a platform for developing re-usable, component-oriented code.
TekBlend helps you to create optimal structure for any internet/intranet
applications with flexibility, reusability and accuracy in mind.
Here is the example of HTML tamplate used by TekBlend
<table width="500" border=0 align=center>
<MODULE NAME="products" SUB="ListProduct">
<LAYOUT NAME="product_short">
<tr>
<td colspan=2 align="center">
<IMG SRC="${img}" BORDER="1">
</td>
<td valign=top colspan=2>
<table>
<tr><td>
<font face="verdana" size="4">${name}
</font><br><hr>
</td></tr>
<tr><td>
${desc}
</td></tr>
<tr><td>
$ ${price}
</td></tr>
</table>
</td>
</tr>
</LAYOUT>
</MODULE>
</table>
Example of TekBlend Perl module for above HTML template example
package products;
use TekBlend::TekBlendData;
sub ListProduct
{
my(%input)=@_;
$prodhash[0]{prod_id}=1;
$prodhash[0]{name}=’apple’;
$prodhash[0]{desc}=’red delicious apple’;
$prodhash[0]{img}=’/image/apple.gif’;
$prodhash[0]{price}=’1.49’;
$prodhash[1]{prod_id}=2;
$prodhash[1]{name}=’orange’;
$prodhash[1]{desc}=’mandarin orange’;
$prodhash[1]{img}=’/image/orange.gif’;
$prodhash[1]{price}=’1.10’;
$prodhash[2]{prod_id}=3;
$prodhash[2]{name}=’pear’;
$prodhash[2]{desc}=’pear’;
$prodhash[2]{img}=’/image/pear.gif’;
$prodhash[2]{price}=’1.30’;
foreach $producthash (@prodhash)
{
SetRowData(%{$producthash});
ShowLayout("product_short");
}
}
For more information please visit www.parosoft.com
|
|
| phpCMS a content-management-system written in php. Categories : Content Management, Apache, Complete Programs, Web Servers, PHP | | | Expose - PHP template engine, supports server and client-sided caching,a plugin system, multiple languages, template script language is based on PHP itself. Categories : PHP, PHP Classes, Templates, Complete Programs | | | Why do i get a "Save As" dialog box when I type in the url of a php3 file Categories : PHP Configuration, PHP, Apache, Web Servers | | | PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers | | | WebServerSpy checks which kind of Webserver is running, Apache, Netscape, Fasttrack, IIS, HTTP-Header, HTTP 1.0, GET, spy, WWW Categories : HTTP, Network, Apache, PHP, Web Servers | | | gd libraries make gmake php3 apache-1.3.0 gd1.3 FreeBSD-2.2
Categories : Installation, PHP, Apache, Web Servers | | | Installing Oracle support to PHP running in Apache Categories : PHP Configuration, Apache, Oracle, Databases, Web Servers | | | Easy windows installation kit for win 9* PHP4 MySQL Apache phpMyAdmin Categories : Installation, PHP, MySQL, Apache, Web Servers | | | GoTemplate Categories : PHP, Complete Programs, Templates | | | Caldera Openlinux 1.2 Standard Categories : Web Servers, MySQL, PHP, Apache, Databases | | | Logging 404 errors in your custom statistics using Apache and a PHP script. Categories : Apache, Web Servers, PHP, Errors and Logging | | | How do you specify the default document in Apache?
Categories : Apache, HTTP, Web Servers | | | uaa Categories : Apache, Apache, Browsers, Calendar | | | How to use your own 404 Error file from .htaccess. Categories : Apache, Web Servers | | | PHP Apache and SSL Categories : PHP, Apache, Web Servers | |
|
|
|