Re: HTML_Template_IT(X) vs. HTML_Template_Sigma
| From: | Alexey Borzov | Date: | Thu, 31 Aug 2006 08:14:54 +0000 |
| Subject: | Re: HTML_Template_IT(X) vs. HTML_Template_Sigma | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25025@lists.php.net to get a copy of this message | ||
Hi,
Markus Ernst wrote:
About 2 years ago I switched from IT(X) to Sigma; at that time it looked like IT(X) development was not continued. Now I saw a new version of IT(X) announced. Though I am happy with Sigma it would be nice to get some information about the differences of these packages. As both packages seem to be continued independently I assume that they follow different approaches - some kind of a comparison table with the most basic differences would be a handy information at the packages' home pages or in the end-user documentation.Sigma has two notable differences to ITX: 1) Prepared template cache (that was *the* reason for a separate package). If you are using this, try disabling it to get an estimate of performance drop you are going to experience after switching back to HTML_Template_IT. 2) Callbacks. Sigma calls callbacks automatically on block parsing, ITX has performCallback() method. Sigma has a *much* more robust tokenizer for parsing the callbacks within template. Sigma has shorthand for callbacks. If you aren't using any of the two features, then the packages' functionality is almost identical. Dunno about IT(X) development goals, but I consider Sigma feature-complete. So unless someone comes up with a good idea (as was the case with latest release) only bug fixes are expected. A PHP5 port can be done sometime, also.