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
moroumo
V2EX  ›  Python

python 里有没有可以提供 client libraries 的 service 框架

  •  
  •   moroumo · 2014-04-19 22:54:00 +08:00 · 3048 次点击
    这是一个创建于 3631 天前的主题,其中的信息可能已经有所发展或是发生改变。
    自己查了一些,基本上框架描述怎么写server端。
    有没有这样的框架,即提供server端的框架,也提供client libraries。
    在实际应用中,client不需要考虑返回的数据是json,或是xml。client拿到的,就是server事先定义好的response对象。
    写server的时候,会给client也提供相应的lib,供client使用。
    3 条回复    1970-01-01 08:00:00 +08:00
    n0rmrx
        1
    n0rmrx  
       2014-04-19 23:53:33 +08:00
    thrift?
    repus911
        2
    repus911  
       2014-04-21 10:43:20 +08:00
    requests?
    moroumo
        3
    moroumo  
    OP
       2014-04-21 15:35:21 +08:00
    @n0rmrx 这个符合我的预期
    @repus911 这个很棒啊,虽然不是一开始想要的,但看了后,感觉能马上用到现有系统里。[
    多谢两位。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2771 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 101ms · UTC 12:32 · PVG 20:32 · LAX 05:32 · JFK 08:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.