Re: Requirements for updated site
| От | Jeroen Ruigrok/asmodai |
|---|---|
| Тема | Re: Requirements for updated site |
| Дата | |
| Msg-id | 20040116073122.GD776@nexus.ninth-circle.org обсуждение |
| Ответ на | Re: Requirements for updated site ("Marc G. Fournier" <scrappy@postgresql.org>) |
| Список | pgsql-www |
-On [20040116 06:22], Marc G. Fournier (scrappy@postgresql.org) wrote: >Okay, I'm a bit curious here, and hope that Alexey can explain it ... what >exactly is a template engine, and how does it work? Alexey, just because >you are familiar with one doesn't help unless there are others as familiar >... and there needs to be a *really* clear (and well justified) reason for >using one so that others will want to learn how to ... so if you can >explain, and maybe provide an example? That may help ... See for example: www.template-toolkit.org You create pseudo-HTML pages which have specialised code/markup which gets replaced on the fly. E.g. each page has: [ %HEADER% ] Which gets replaced by the file header.html.tmpl (assuming you defined HEADER to be that file somewhere). Just an example I created, might not match what template-toolkit does. -- Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B http://www.tendra.org/ | http://diary.in-nomine.org/ Don't try to find the Answer where there ain't no Question here...
В списке pgsql-www по дате отправления: