1
zhicheng 2015 年 1 月 16 日
作为 tornado 的 contributor ,就喜欢它的轻量,自带 Server 。开发,修改,部署都很简单。
|
2
incompatible 2015 年 1 月 16 日
在annotation流行的年代 play还在使用convention over configuration
这我实在理解不了 |
3
acdea4effdbb420d 2015 年 1 月 16 日
annotation是什么东西能指点我去学一下吗?annotation比起convention over configuration高明到哪里去了?
|
4
mqingyn616 2015 年 1 月 16 日
|
5
wingyiu OP @incompatible annotation也是一种约定啊
|
6
yakczh 2015 年 1 月 16 日
annotation 跟python的 decorator 有什么不同?
|
7
format 2015 年 1 月 16 日
@yakczh annotation只能在一个类、属性或方法上做一些标记,想要实现复杂的逻辑只能通过其他方法。 decorator不一样,可以做很多事。
|
8
crazybubble 2015 年 1 月 19 日
@yakczh annotation本身只用做标记,annotation要加上AOP才能实现像python decorator那样的功能
|