🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #1234

Re: Szablony

#1234
From: Grzegorz Kozioł
Date: Mon, 27 Aug 2001 11:02
40 lines
2559 bytes
"Michal Sznajder" <sznajder@fxmedia.com.pl> wrote in > Witam
> Ktora bibioteke do szablonow mozecie mi polecic ?
> Chodzi mi glownie o  szybkosc parsowania kosztem rozbudowanej
funkcjonalnosci. Czyli raczej
> np. FastTemplate niz EasyTemplate z PHPLib.

Tez mialem ten problem ostatnio
wybralem SMARTY.
Mysle ze jest to dobry wybor.

Z dokumentacji :

 Some of Smarty's features:

    * it is extremely fast
    * it is relatively simple since the PHP parser does the dirty work.
    * no template parsing overhead, only compiles once.
    * it is smart about recompiling only the template
      files that have changed.
    * you can make custom functions and custom variable modifiers, so
      the template language is extremely extensible.
    * configurable template delimiter tag syntax, so you can use
      {}, {{}}, <!--{}-->, or whatever you like.
    * template if/elseif/else/endif constructs are passed to the PHP parser,
      so the if syntax can be as simple or as complex as you like.
    * unlimited nesting of sections, ifs, etc. allowed
    * it is possible to imbed PHP code right in your template files,
      although not recommended and doubtfully needed since the engine
      is so customizable.
    * built in caching
    * arbitrary template sources (flat files, databases, etc.)

Strona projektu : http://www.phpinsider.com/php/code/Smarty/
Archiwum listy mailingowej : http://marc.theaimsgroup.com/?l=smarty&r=1&w=2

--
Grzegorz Koziol
grzegorz.koziol@gastronomie.pl
UIN : 30649123  GG : 1228358
Technical Details
Message-ID: <9md9ar$a7m$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <Xns910A793B16AA4msznajderfxmediacomp@212.244.96.243>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: Grzegorz Kozioł <grzegorz.koziol@gastronomie.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: Szablony
Date: Mon, 27 Aug 2001 13:02:53 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 43
Message-ID: <9md9ar$a7m$1@news.tpi.pl>
References: <Xns910A793B16AA4msznajderfxmediacomp@212.244.96.243>
NNTP-Posting-Host: pg128.krakow.sdi.tpnet.pl
X-Trace: news.tpi.pl 998910107 10486 213.76.246.128 (27 Aug 2001 11:01:47 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: 27 Aug 2001 11:01:47 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit