Django Book 翻译
菜单>:
TOC
返回
原文:
More than any other component of Web applications, programmer opinions on template systems vary wildly. The fact that Python alone has dozens, if not hundreds, of open source template-language implementations supports this point. Each was likely created because its developer deemed all existing template languages inadequate. (In fact, it is said to be a rite of passage for a Python developer to write his or her own template language! If you havent done this yet, consider it. Its a fun exercise.)
翻译:
相对Web应用中的其他组件,程序员们对模板系统的分歧是最大的。事实上,Python有成十上百的 开放源码的模板语言实现。每个实现都是因为开发者认为现存的模板语言不够用。(事实上,对一个 Python开发者来说,写一个自己的模板语言就象是某种“成人礼”一样!如果你还没有完成一个自己的 模板语言,好好考虑写一个,这是一个非常有趣的锻炼。)
备注:
译者: