"We are back" « oc.at

Gute Template engine (php)

semteX 05.01.2004 - 22:01 1557 18
Posts

semteX

hasst die KI
Avatar
Registered: Oct 2002
Location: Pre
Posts: 14862
also smartphp ist doch ned das wahre - es gibt defakto kein manual dazu und auch das forum ist unter aller sau

smarty ist ganz schön kompliziert :/

funka

Legend
ex-prophet(down below)
Registered: Sep 2000
Location: Vienna / SF
Posts: 6131
smarty ist nicht wirklich kompliziert
aber meine meinung findest eh schon im thread ;)

versuch mal IT[x] ausm http://pear.php.net

semteX

hasst die KI
Avatar
Registered: Oct 2002
Location: Pre
Posts: 14862
thx i hab ma jetzt mal smarty a bissi angeschaut... wenn ma mal das prinzip verstanden hat dann gehts eh :)

IT[x] werd ich mir heut im laufe des tage szu gemüte führen thx

funka

Legend
ex-prophet(down below)
Registered: Sep 2000
Location: Vienna / SF
Posts: 6131
html_template_sigma duerft eine neue erweiterung von itx sein

da selbst ulf wendel (der der itx geschrieben hat) diese verwendet duerft sie recht sinnvoll sein

* Ability to include files from within template: <!-- INCLUDE -->
* '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)
* Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available)
usw

wobei das erste natuerlich das fuer uns anfaenger am interessantesten ist
http://pear.php.net/package/HTML_Template_Sigma/
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz