- 授权协议: 未知
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: http://www.domtemplate.com/
软件介绍
PHP DOM Template 是一个快速的 PHP 模板引擎,下面是一个 Hello World 的例子:
<?php
// Start the output buffer
ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PHP Dom Template (PDT) Library - example01.html</title>
<link rel="stylesheet" type="text/css" href="../css/stylesheet.css" />
</head>
<body>
<p><a href="../example01.php">Back To Example 1</a></p>
<div id="content">
<h1>Hello World</h1>
<p var="helloWorld">Default Text</p>
<p> </p>
<p class="copyright"><a href="http://www.domtemplate.com">Copyright 2008 PHP DOM Template</a></p>
</div>
<p><a href="../example01.php">Back To Example 1</a></p>
</body>
</html>
<?php
// include the Template lib
include_once dirname(__FILE__) . '/../Template.php';
// Create a template from the html in the buffer
$buff = ob_get_clean();
$template = Dk_Dom_Template::loadXml($buff);
$template->replaceText('helloWorld', 'This is the `Hello World` Dynamic text.');
echo $template->getDocument()->saveXML();
?>
C语言算法速查手册
程晓旭、耿鲁静、张海、王勇 / 2009-10 / 49.00元
《C语言算法速查手册》用C语言编写了科研和工程中最常用的166个算法,这些算法包括复数运算、多项式的计算、矩阵运算、线性代数方程组的求解、非线性方程与方程组的求解、代数插值法、数值积分法、常微分方程(组)初值问题的求解、拟合与逼近、特殊函数、极值问题、随机数产生与统计描述、查找、排序、数学变换与滤波等。同时结合这些算法列举了将近100个应用实例,对其进行验证和分析。 《C语言算法速查手册》适......一起来看看 《C语言算法速查手册》 这本书的介绍吧!
