2008年第二次Beijing Open Party活动也要继续开始了。
本次活动名为”春归(The Return of Spring)”,依然采用unconference的形式,活动成员对于各个topic的热情与责任感是活动的召唤力,贯穿活动始终的是参与者与topic之间的思维互动。会议不设主旨发言,休息时间、茶点时间可自由随机安排,整个活动在充满自由开放的气氛中进行。讨论话题不仅由召集人
又修正了一个xss类型的bug,仔细阅读了django doc里template_python.txt的注意部分,在此提醒大家在写自定义的filter时,如果产生的文本里引入了html标记,需要这么处理:
from django.utils.html import conditional_escape
from django.utils.safe
支持block的语言的模板系统非常舒服,支持模板继承已经非常爽了。但是我有种感觉,统称他们为模板名不正言不顺,应该布局相关的成为模板,也就是第一层,后面的应该称作partial,如RoR里面的命名。partial的目的在于DRY,布局则是为了减少做页面时对于layout的extra mind works.
^__^
“we should not reimplement without reason, than to say that we should avoid reimplementation. ”, 很有道理。
这让我想到web.py的Aaron类似的回复:
> Inventing yet another template language...
You don't have to
原文链接: http://adam.gomaa.us/blog/frameworks-exist-for-conceptual-integrity/
在此文中作者讨论了为什么他认为pylons不成功,而django是成功的,主要观点是:
Two templating languages is not a feature, it's a mistake. Four? That's a n ...