Date: Thu, 10 Jan 2019 17:20:25 +0000 (UTC) From: Jochen Neumeister <joneum@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489877 - head/devel/pear-HTML_Template_IT Message-ID: <201901101720.x0AHKPIf024893@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: joneum Date: Thu Jan 10 17:20:25 2019 New Revision: 489877 URL: https://svnweb.freebsd.org/changeset/ports/489877 Log: - Add LICENSE - Update pkg-descr Sponsored by: Netzkommune GmbH Modified: head/devel/pear-HTML_Template_IT/Makefile head/devel/pear-HTML_Template_IT/pkg-descr Modified: head/devel/pear-HTML_Template_IT/Makefile ============================================================================== --- head/devel/pear-HTML_Template_IT/Makefile Thu Jan 10 17:13:00 2019 (r489876) +++ head/devel/pear-HTML_Template_IT/Makefile Thu Jan 10 17:20:25 2019 (r489877) @@ -9,6 +9,9 @@ CATEGORIES= devel www pear MAINTAINER= joneum@FreeBSD.org COMMENT= PEAR Integrated template API +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= pear .include <bsd.port.mk> Modified: head/devel/pear-HTML_Template_IT/pkg-descr ============================================================================== --- head/devel/pear-HTML_Template_IT/pkg-descr Thu Jan 10 17:13:00 2019 (r489876) +++ head/devel/pear-HTML_Template_IT/pkg-descr Thu Jan 10 17:20:25 2019 (r489877) @@ -1,21 +1,15 @@ -HTML_Template_IT: -Simple template API. -The Isotemplate API is somewhat tricky for a beginner although it is the best -one you can build. template::parse() [phplib template = Isotemplate] requests -you to name a source and a target where the current block gets parsed into. -Source and target can be block names or even handler names. +HTML_Template_IT is a templating engine designed to allow easy separation of +concerns. It does this by clearly separating the presentational code from +the PHP code. The presentation code may be of any format, however generally +XML or HTML is used. -Features : - * Nested blocks - * Include external file - * Custom tags format (default {mytag}) +This engine works on the foundation of blocks and placeholders. +It uses the hierarchy of blocks to determine which presentational code is +instantiated when blocks are parsed. The placeholders allow the insertion +of "dynamic" information. -HTML_Template_ITX : -With this class you get the full power of the phplib template class. -You may have one file with blocks in it but you have as well one main file -and multiple files one for each block. This is quite useful when you have -user configurable websites. Using blocks not in the main template allows -you to modify some parts of your layout easily. - +There are two classes to use for templating. HTML_Template_IT is used for basic +templating needs. HTML_Template_ITX gives you full power over the templating +engine, allowing blocks to be added, and function callbacks to be used. WWW: https://pear.php.net/package/html_template_it
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901101720.x0AHKPIf024893>