推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
wingyiu
V2EX  ›  Python

可不可以说 play framework 约等 tornado+django

  •  
  •   wingyiu · Jan 16, 2015 · 5602 views
    This topic created in 4322 days ago, the information mentioned may be changed or developed.
    先后接触了j2ee django tornado play2,感觉play2优点很多,兼有rails、强类型、内置性能netty不错的,就是scala、sbt学起来不那么酷

    为什么tornado就不能搞成fullstack呢?搭配起来确实很费神,不能拿来即用,快速成型。
    8 replies  •  2015-01-19 08:53:54 +08:00
    zhicheng
    zhicheng
    Jan 16, 2015
    1
    作为 tornado 的 contributor ,就喜欢它的轻量,自带 Server 。开发,修改,部署都很简单。
    incompatible
    incompatible
    Jan 16, 2015
    2
    在annotation流行的年代 play还在使用convention over configuration
    这我实在理解不了
    acdea4effdbb420d
    acdea4effdbb420d
    Jan 16, 2015
    3
    annotation是什么东西能指点我去学一下吗?annotation比起convention over configuration高明到哪里去了?
    mqingyn616
    mqingyn616
    Jan 16, 2015
    4
    https://github.com/mqingyn/torngas

    这个基于tornado的框架,可能满足你即来即用,快速成型的需求,这个更像tornado+django。
    wingyiu
    wingyiu
    OP
    Jan 16, 2015
    5
    @incompatible annotation也是一种约定啊
    yakczh
    yakczh
    Jan 16, 2015
    6
    annotation 跟python的 decorator 有什么不同?
    format
    format
    Jan 16, 2015
    7
    @yakczh annotation只能在一个类、属性或方法上做一些标记,想要实现复杂的逻辑只能通过其他方法。 decorator不一样,可以做很多事。
    crazybubble
    crazybubble
    Jan 19, 2015
    8
    @yakczh annotation本身只用做标记,annotation要加上AOP才能实现像python decorator那样的功能
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 09:43 · PVG 17:43 · LAX 01:43 · JFK 04:43
    ♥ Do have faith in what you're doing.