wok-current annotate perl-text-template/description.txt @ rev 24809
created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:52:59 2022 +0100 (2022-03-22) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24262 | 1 This is a library for generating form letters, building HTML pages, |
Hans-G?nter@24262 | 2 or filling in templates generally. |
Hans-G?nter@24262 | 3 A "template" is a piece of text that has little Perl programs embedded |
Hans-G?nter@24262 | 4 in it here and there. |
Hans-G?nter@24262 | 5 When you "fill in" a template, you evaluate the little programs and |
Hans-G?nter@24262 | 6 replace them with their values. |
Hans-G?nter@24262 | 7 |
Hans-G?nter@24262 | 8 You can store a template in a file outside your program. |
Hans-G?nter@24262 | 9 People can modify the template without modifying the program. |
Hans-G?nter@24262 | 10 You can separate the formatting details from the main code, and put |
Hans-G?nter@24262 | 11 the formatting parts of the program into the template. |
Hans-G?nter@24262 | 12 That prevents code bloat and encourages functional separation. |