推荐学习书目
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 · 5118 views
    This topic created in 4142 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
        1
    zhicheng  
       Jan 16, 2015
    作为 tornado 的 contributor ,就喜欢它的轻量,自带 Server 。开发,修改,部署都很简单。
    incompatible
        2
    incompatible  
       Jan 16, 2015
    在annotation流行的年代 play还在使用convention over configuration
    这我实在理解不了
    acdea4effdbb420d
        3
    acdea4effdbb420d  
       Jan 16, 2015
    annotation是什么东西能指点我去学一下吗?annotation比起convention over configuration高明到哪里去了?
    mqingyn616
        4
    mqingyn616  
       Jan 16, 2015
    https://github.com/mqingyn/torngas

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