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