 |
|
 |
|
|
|
If "38 Coolest Template Engines for PHP" is not shown property. Visit the source link above.
|
|
|
| |
Template engines are
designed to allow the separation of business logic from the
presentation layer, which means allowing MVC architecture
to the developers. With the aid of template engines, we are able to
develop websites with different looks but the same logic or the
core code. Template engines are lately known as not good ideas
because recent platforms already have embedded template engines to
separate views from logic, generate code etc…
Here is a
compilation of 38 Coolest Template Engines for PHP
you can take into reference. Full
list after jump.
- Smarty - a template engine that
compiles the templates into PHP scripts, then executes those
scripts. Very fast, very flexible.
-
web.template
- new template system,
works only with PHP5, uses XML-like look language, and you can
call for templates method in your classes.
-
XTemplate -
a cool template engine for PHP, allows you to store your HTML
code separately from your PHP code (as opposed to compiling your
template into PHP as per Smarty etc.). It has many useful
features such as nested blocks and various kinds of variable
interpolation, and yet the code is very short and very
optimized.
-
Open Power
Template - a template engine written in PHP, and
probably the one, which natively supports PHP 5. While
developing it we chose two main goals for it: to be fast, and to
be flexible. OPT uses a very
effective template parsing algorithm, which compiles the
templates into the PHP code.
-
FryPHP
- very young, fast and easy to learn template engine/system for
PHP5, written in object oriented manner using test driven
development (TDD), allows local variables for each template, you
also can set global variables.
-
Template
Class - very easy to use yet powerful and quick
template engine. It can handle simple variable replacement and
table building using two dimensional arrays and/or MySQL result
sets. Performance is excellent. Has support for multiple
template files. Documentation is included in the zip
file.
-
Template
Lite - written under PHP 5 and is currently being
written under PHP 5.2.1 with E_STRICT enabled. Template Lite
works without error under all versions of PHP 5 from 5.1.3 and
higher. Before PHP 5.1.3 VAR would give a warning notice under
E_STRICT. Template Lite works under PHP 5 without any
errors but does not use any PHP 5 specific
attributes.
-
PHPTAL
- a XML/XHTML template library for PHP. Some PHPTAL advantages
and features; enforce the separation between logic and
presentation, no more htmlentities, quite clean and readable
templates, ability to insert sample text inside template to
preview template result without PHP backend, integrates quite
well with WYSIWYG HTML editors, data abstraction using xpath
like system, cool html macro system, integrated
internationalization system, ability to replace xpath system
with PHP expressions, nearly no speed loss, and template source
filter interface
-
Savant - a
powerful but lightweight object-oriented template system for
PHP. Unlike other template systems, Savant by default does not
compile your templates into PHP; instead, it uses PHP itself as
its template language so you don’t need to learn a new markup
system.
- YATS - seeks to
preserve FastTemplate features while improving on usability and
speed. It is not a direct port of FastTemplate, as it adds/removes
some features, changes the syntax, and simplifies a few things,
such as template definition.
- Simple
Turtle PHP Template - a simple, small, fast and quick
to use function that helps separate between the logic and
presentation layers in PHP programs. It is simple because all it
does is string replacements, for both single words and in
blocks.
- Templeet is
an open-source project initiated by Pascal Courtois and Fabien
Penso. It allows you to create photo galeries, news systems,
personal sites, blogs, etc. Using Templeet, you can generate
HTML, CSS, SVG pictures, SMIL, and any kind of text files.
- Enzyme -
simply put, is an engine for storing structured data for structured
searching.
- Bleetz - a
revolutionary templates parser based on XML generating PHP. It
translates Bleetz control tags into universal php code. It is
designed to be fully integrated with Macromedia Dreamweaver.
- SSTP
(Server-Side Template Parser) - powerful tool for
formatting
pages based on templates. It will work with virtually any
HTML/XHTML page, and has support for advanced features such as
syndication of content and intelligent link correction.
- VOOT
(Vanilla Object Oriented Templates) - a simple
(’vanilla’) PHP class for
creating web pages with templates. It supports user-defined
HTTP headers, and it is capable of processing PHP contained in
rendered templates.
- ecTemplate -
quit making dirty HTML pages. Separate your PHP code from your
HTML. Finally that graphic designer will talk to you again ;)
- phemplate - simple
and fast template engine for php. it provides a way of substituting
variables into text templates and do some dynamic block
functionality including loops.
- Yapter is a PHP
template engine. Other template engines all lacked some kind of
functionality for me to just like them 100%.
- ETS - easy
template system - a template system written with PHP
that enables you to transform a set of data to any type of
document.
-
PatTemplate
is a template system that gives us the power and flexibility to
add templates to our PHP driven sites.
-
Qtpl
- intended for use in CGI scripts. The library will be released
in 6 versions: Plain Perl, Plain PHP, C version, PHP/C module,
Perl/XS version, C++ version. All of them will support uniform
syntax.
-
SledgeHammer
- a template engine for PHP. It provides separation of
business-logic and presentation in web-based applications.
- PHPService is a powerful
template engine based on an easy-extensible
XML-Metalanguage.
- Virtual
Template - class for PHP4 & PHP5 (french)
- SimpleT - An HTML
Compiler
- AvanTemplate -
is a template engine for PHP. It is multi-byte safe and consumes
little computing resource. It supports variable replacement, block
that can be set to hidden or shown, loop, multple-depth loop, and
include statement in template file.
- TemplatePower -
offers you the ability to separate your PHP code and your (HTML)
layout file. It’s similar to the popular template class
FastTemplate, but than a lot faster (about 6x faster).
- htmltmpl:
templating engine - A templating engine for Python and
PHP. Provides web application developers, who need to separate the
program code and the design (HTML code) of their web application
projects, with a templating tool that can easily be used by
cooperating web designers with no programming skills.
- MiniTemplator
- compact template engine for HTML files. It features a simple
syntax for template variables and blocks. Blocks can be
nested.
-
Layout Solution - simplifies website development and
maintenance. It holds commonly used variables and page elements,
allowing you to focus on designing your pages rather than worrying
about correctly duplicating common layouts over and over.
-
TinyButStrong
- a library that enables you to create HTML pages dynamically.
It enables you to easily display information from your database,
but also to seriously harmonize and simplify your PHP
programming. TinyButStrong is oriented to HTML but not
specialized to Html. This means it can work as well with Text
files, XML, RSS, RTF, WML, Excel (xml), …
-
WACT - a
template engine that separates code from design.
-
bTemplate
- small and fast template class that allows you to separate your
PHP logic from your HTML presentation code.offers you the
ability to separate your PHP code and your (HTML) layout file.
It’s similar to the popular template class FastTemplate, but
than a lot faster (about 6x faster).
-
QuickTemplate
- a PHP extension for managing templates and performing
multi-level variable and block interpolation.
-
VarPage
- very simple PHP class for building websites based on Template
files
-
FastTemplate - PHP extension for mamaging templates
and performing variable interpolation, robust and flexible, and
allows you to build very complex HTML documents/interfaces. It is
also completely written in PHP and (should) work on Unix or
NT.
-
Vemplator
is PHP template engine that strives to be light-weight yet
featured, and does quite well in only 200 lines of code. The
template syntax is concise, and the code is written to be
extensible. Though it may be somewhat strict (doesn’t allow
function calls from the template, among other things) it’s very
usable. The strictness is intended to constrain the template
logic to that which relates to
presentation.
|
|
|
|
 |
|
 |
|
|
|
|
|
|