Download List

Descripción del Proyecto

FastTemplate is a PHP3 class for managing template files
and performing variable interpolation. It is a strict port of
Jason Moore's Perl module CGI::FastTemplate. Its primary
use is to separate HTML and PHP code, making your PHP
code cleaner.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2009-03-20 15:04
1.6.2

Se devuelve un error de captura cuando la plantilla el nombre de archivo está vacío. La ruta del ahora puede ser reescrito para tener en cuenta las diferencias entre el entorno de creación y el entorno de implementación.
An error is returned for capture when the template filename is empty. The template path may now be rewritten to account for differences between the authoring environment and the deployment environment.

2008-02-05 16:02
1.6.0

El estilo de la documentación fue reescrito para ser mucho más limpio.
Tags: Code cleanup
The documentation style was rewritten to be much
cleaner.

2006-06-28 08:55
1.5.1

Documentación ahora está en el directorio de documentos y se ha mejorado. El rewrite_link_href_callback, rewrite_src_path, set_output_rewrite_src_path, y las funciones pre_filter se han añadido. JS, CSS, y img src de una plantilla que se reescriben a una ruta personalizada. Todas las instancias de template_path src = "/ archivo" que se encuentra en el documento se vuelven a escribir, que es muy útil cuando se desea modificar la plantilla de trabajo en un editor visual sin ninguna conexión con el camino de script que invocará la plantilla de trabajo de contenido de salida. FastWrite FastPrint y se han mejorado.
Tags: Major feature enhancements
Documentation now is in the DOCS directory, and was improved. The rewrite_link_href_callback, rewrite_src_path, set_output_rewrite_src_path, and pre_filter functions were added. JS, CSS, and img src from a template are rewritten to a custom path. All instances of src="template_path/file" found in the document are rewritten, which is very helpful when you want to edit the work template in a visual editor without any connection to the script path that will invoke the work template output content. FastWrite and FastPrint were improved.

2005-03-29 23:01
1.3.0

Una función DELETE_CACHE para eliminar archivos de más de la expiración del tiempo. Una extensión de archivo de caché: por ejemplo, ahora un nombre de archivo de caché se md5name.ft. Esto era necesario porque de DELETE_CACHE. Incluyen un bloque que incluya otra plantilla mediante una declaración (como SSI hacer) "-->. <!--# include file = "include2.html Es útil si tienes varios modelos diferentes para diferentes partes de una página y no tienes que escribir ningún código PHP para reunir todos los "bloques" de la página.
Tags: Major feature enhancements
A DELETE_CACHE function to delete files older than the expire time. A file extension to cache: for example, now a cache file name will be md5name.ft. This was necessary because of DELETE_CACHE. An include block that includes another template using a statement (like SSI do) &lt;!--#include file=&quot;include2.html&quot;--&gt;. It is useful if you have several different templates for different parts of a page, and you dont need to write any PHP code to gather all "blocks" of the page.

2005-02-16 15:21
1.2.0

El FastTemplate:: parse_and_return ($ template_name) el método se ha añadido. El FastTemplate:: get_root () método, que devuelve el directorio raíz de la plantilla, se añadió. Apoyo a la plantilla de comentarios se ha añadido. Apoyo a la línea de bloques dinámicos de esta. Soporte para campos de los objetos utilizando el acceso get () o getId () los métodos a partir de plantillas se ha añadido. El FastTemplate:: define () ahora soporta el método de matriz, nombre, y el valor como parámetros. FastTemplate:: assign_from_array ($ array, $ keys) fue añadido. Las variables de plantilla se asignan a partir de la matriz asociada con el mismo nombre.
Tags: Major feature enhancements
The FastTemplate::parse_and_return($template_name)
method was added. The FastTemplate::get_root()
method, which returns the root template dir, was
added. Support for template comments was added.
Support for inline dynamic blocks was added.
Support for accessing object fields using get() or
getId() methods from templates was added. The
FastTemplate::define() method now supports array,
name, and value as parameters.
FastTemplate::assign_from_array($array, $keys) was
added. Template variables are assigned from the
associated array with the same name.

Project Resources