README
1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
PHPTAL - Template Attribute Language for PHP
Laurent Bedubourg <lbedubourg@motion-twin.com>
Usage requirements
==================
To use PHPTAL in your projects, you will only require this:
- PHP5
If you are willing to use the builtin internationalisation system of
(I18N) the gettext extension must be compiled into PHP
(--with-gettext).
PEAR Install
============
Get the latest PHPTAL package on http://phptal.org.
Then run
pear install PHPTAL-X.X.X.tar.gz
NON PEAR install
================
Get the latest PHPTAL package on http://phptal.org.
tar zxvf PHPTAL-X.X.X.tar.gz
mv PHPTAL-X.X.X PHPTAL
mv PHPTAL/PHPTAL.php .
mv PHPTAL* /path/to/your/php/include/path
Getting the latest development version
======================================
You can checkout the latest subversion trunk content using:
svn co https://svn.motion-twin.com/phptal/trunk phptal
PHPTAL development requirements
===============================
If you want to hack PHPTAL (don't forget to send me patches), you will
require:
- The PHPTAL development package
- PEAR[0]
- Phing[1] to run maintainance tasks in an ant way
- PHPUnit2[2] to run tests
- PhpDocumentor[3] (optional) to generate PHP documentation
Phing tasks
===========
- phing doc (call phpdocumentor on classes folder)
- phing test (run tests)
- phing main (test, build, pear-package, tar)
[0] http://pear.php.net
[1] http://phing.tigris.org
[2] http://pear.php.net/package/PHPUnit2
[3] http://www.phpdoc.org
-- dev notes --
Runtime classes
===============
- PHPTAL_Exception
- PHPTAL_Context
- PHPTAL_RepeatController
- PHPTAL_Filter
- PHPTAL_Trigger
- PHPTAL_TranslationService
- PHPTAL_GetTextTranslator
Parsetime classes
=================
- PHPTAL_Dom_SaxXmlParser
- PHPTAL_Php_Attribute
- PHPTAL_Dom_Node