PHP模版引擎 Templum

openkk 13年前
     <p>Templum 是一个超轻量级的、高速的而且功能强大的 PHP 模版引擎,它重用了 PHP 本身的强大功能,提供了附加的特性以简化模版的编写。</p>    <h1 class="title"><img title="Templum" alt="PHP模版引擎 Templum" src="https://simg.open-open.com/show/796511e611352932a7035e90de7b18a7.png" width="241" height="47" /></h1>    <h4>功能特性:</h4>    <ul>     <li>Lightweight. About 140 lines of code (excluding ±140 lines of API comments).</li>     <li>Re-uses PHP <a href="/misc/goto?guid=4959498298361486399">alternative syntax</a> for clarity and full power. (You can also use normal syntax)</li>     <li>Very fast. Renders 10,000 templates in <tt>0.741s</tt> (Native PHP takes <tt>0.633s</tt>).</li>     <li>I18N (translated) templates.(<a href="/misc/goto?guid=4959498298440657858">Example</a>, <a href="/misc/goto?guid=4959498298521091084">Documentation</a>)</li>     <li>Per-session caching of rendered templates.</li>     <li>Inheritance. (<a href="/misc/goto?guid=4959498298607356838">Example</a>, <a href="/misc/goto?guid=4959498298685093261">Documentation</a>)</li>     <li>Including other templates. (<a href="/misc/goto?guid=4959498298766597773">Example</a>, <a href="/misc/goto?guid=4959498298845606144">Documentation</a>)</li>     <li>Security by automatic encoding of HTML entities. (<a href="/misc/goto?guid=4959498298938739079">Documentation</a>)</li>     <li>Universal, global and local variables. (<a href="/misc/goto?guid=4959498299013388386">Documentation</a>)</li>     <li>PHP v4 and v5 support.</li>    </ul>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1322988445780" target="_blank">http://www.open-open.com/lib/view/home/1322988445780</a></p>