|
|
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 | | | PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers | | | GoTemplate Categories : PHP, Complete Programs, Templates | | | Caldera Openlinux 1.2 Standard Categories : Web Servers, MySQL, PHP, Apache, Databases | | | How to use your own 404 Error file from .htaccess. Categories : Apache, Web Servers | | | apache_lookup_uri -- Perform a partial request for the specified URI and return all info about it Categories : PHP, PHP Functions, Apache, Web Servers | | | Easy windows installation kit for win 9* PHP4 MySQL Apache phpMyAdmin Categories : Installation, PHP, MySQL, Apache, Web Servers | | | How do you specify the default document in Apache?
Categories : Apache, HTTP, Web Servers | | | uaa Categories : Apache, Apache, Browsers, Calendar | | | include php3 files Categories : Filesystem, PHP, Apache, Web Servers | | | Using .htaccess files to authenticate with .htpassword files and with MySql
(Works with Apache) Categories : Authentication, MySQL, Apache, Databases, Web Servers | | | 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 | | | PHP Apache and SSL Categories : PHP, Apache, Web Servers | | | 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 | | | Logging 404 errors in your custom statistics using Apache and a PHP script. Categories : Apache, Web Servers, PHP, Errors and Logging | |
| |
| |
|