BSD Ports

devel/pear-HTML_Template_Sigma 1.4.0 FreeBSD

Implementation of Integrated Templates API with template 'compilation' added

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
PHP301
Categories
devel, www, pear
Package size
31.5 KiB, 139.3 KiB installed

Description

HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.

Features:

  • Nested blocks. Nesting is controlled by the engine.
  • Ability to include files from within template: <!-- INCLUDE -->
  • Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available)
  • Methods for runtime addition and replacement of blocks in templates
  • Ability to insert simple function calls into templates: func_uppercase('Hello world!') and to define callback functions for these
  • 'Compiled' templates: the engine has to parse a template file using regular expressions to find all the blocks and variable placeholders. This is a very "expensive" operation and is an overkill to do on every page request: templates seldom change on production websites. Thus this feature: an internal representation of the template structure is saved into a file and this file gets loaded instead of the source one on subsequent requests (unless the source changes)
  • PHPUnit-based tests to define correct behaviour
  • Usage examples for most of the features are available, look in the docs/ directory

In the other systems

SystemPortVersion
FreeBSDdevel/pear-HTML_Template_Sigma1.4.0
DragonFlydevel/pear-HTML_Template_Sigma1.3.0

Install

Binary package:

pkg install php82-pear-HTML_Template_Sigma

From the ports tree:

cd /usr/ports/devel/pear-HTML_Template_Sigma/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-pear-HTML_Template_Sigma>0:devel/pear-HTML_Template_Sigma

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.01.4.01.3.01.3.01.4.0
FreeBSD:14:quarterly1.4.01.4.0n/a1.3.01.4.0
FreeBSD:15:latest1.4.01.4.0n/a1.3.01.3.0
FreeBSD:15:quarterly1.4.01.4.0n/an/an/a
FreeBSD:16:latest1.4.01.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 9
Run dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
pear
Service scripts
none
Flavors
php83-pear-HTML_Template_Sigma-1.4.0, php84-pear-HTML_Template_Sigma-1.4.0, php85-pear-HTML_Template_Sigma-1.4.0, php86-pear-HTML_Template_Sigma-1.4.0

Files

distinfo 1
FileSizeSHA256
PEAR/HTML_Template_Sigma-1.4.0.tgz29979b547240eb827df96f03e5a6a12ad70f910dc1e9de79c9676422033dd97369879

Commit history 0

No commits in the history this site was built from.