V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
tinyao
V2EX  ›  Python

如何用Python为Android应用构建服务端?

  •  
  •   tinyao ·
    tinyao · 2012-05-18 22:56:02 +08:00 · 5021 次点击
    这是一个创建于 4332 天前的主题,其中的信息可能已经有所发展或是发生改变。
    个人想写一个Android应用,但需要有服务端支持,提供帐号系统。

    正在学习python,想用Python来写后端服务,但不大清楚如何入手,需要使用什么框架么?需要哪些技术准备?谢谢!
    8 条回复    1970-01-01 08:00:00 +08:00
    Tiga
        1
    Tiga  
       2012-05-20 22:27:41 +08:00
    GAE吧~~~
    9hills
        2
    9hills  
       2012-05-20 23:07:43 +08:00
    ls不要坑lz啊,GAE在国内访问不能好不好。。。

    如果是简单的后端的话,Flask框架不错。
    ospider
        3
    ospider  
       2012-05-20 23:39:21 +08:00
    GAE这个网站在中国根本不存在,你懂得
    用python写web的话,flask和bottle都特别简单,URL直接对应一个函数,用你的python知识就基本够了
    phuslu
        4
    phuslu  
       2012-05-20 23:43:00 +08:00
    flask/bottle, 最近发现 bottle 的模板也挺好用的。推荐大家试下。
    clino
        5
    clino  
       2012-05-21 09:38:07 +08:00   ❤️ 1
    看你需要后端提供什么服务了,是要web页面还只是数据

    python 的 web 框架我只用过 uliweb,推荐一下这个

    http://uliweb.readthedocs.org/en/latest/index.html
    https://github.com/limodou/uliweb
    https://groups.google.com/group/uliweb
    http://uliweb.clkg.org/forum

    模板和orm 用起来都很方便,而且已经有很多现成的应用可以使用了

    可以用 nginx+uwsgi 部署,这样性能应该比 apache+mod_wsgi 要好
    phengchen
        6
    phengchen  
       2012-05-21 14:57:54 +08:00
    这两天在学习Tornado 这个不错,简单易上手。
    nodexy
        7
    nodexy  
       2012-05-21 15:43:25 +08:00
    再简单就 web.py 哈哈
    jesse_luo
        8
    jesse_luo  
       2012-05-24 10:50:45 +08:00
    写程序还好……部署什么的最麻烦了……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4287 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 05:30 · PVG 13:30 · LAX 22:30 · JFK 01:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.