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

如果想为 discuz 加新的功能,可以用 Python 来写吗?

  •  
  •   fingerstyle · 2017-01-11 18:09:37 +08:00 · 2882 次点击
    这是一个创建于 2655 天前的主题,其中的信息可能已经有所发展或是发生改变。
    对 php 不熟。。不知道是否可行
    13 条回复    2017-01-13 12:05:16 +08:00
    DoraJDJ
        1
    DoraJDJ  
       2017-01-11 18:30:08 +08:00 via Android
    不能。
    Troevil
        2
    Troevil  
       2017-01-11 18:32:18 +08:00
    理论上可以, python 写 然后 用 php 调 py
    AnselCC
        3
    AnselCC  
       2017-01-11 19:09:51 +08:00
    Python 写成 API ,然后 PHP 透过 API 拿结果。
    xdeng
        4
    xdeng  
       2017-01-11 19:11:30 +08:00
    进程间通讯
    RadishWind
        5
    RadishWind  
       2017-01-11 19:17:07 +08:00
    我之前做过类似的:给论坛加一个全文检索(当时 Sphinx 死活安不上,就用 Python 来搞了),通过 Python 单独开一个端口,返回 json 或者直接做一个网页返回结果都可以,也可以通过 Redis 这样的数据库进行通信
    Liang
        6
    Liang  
       2017-01-11 19:18:03 +08:00
    专业 discuz 开发,欢迎联系咨询
    langmoe
        7
    langmoe  
       2017-01-11 19:20:26 +08:00
    http://www.cnblogs.com/magicsky0/p/3481957.html
    几年前看到的了,不知道还在更没有
    KIDJourney
        8
    KIDJourney  
       2017-01-11 19:28:18 +08:00 via Android
    共享数据库然后随便搞゚(゚´Д`゚)゚。
    KIDJourney
        9
    KIDJourney  
       2017-01-11 19:29:18 +08:00 via Android
    共享数据库,转发某些路径下的请求,订一套回话标准
    HLT
        10
    HLT  
       2017-01-11 20:42:50 +08:00
    用 discuz 也不怕恶心着
    techmoe
        11
    techmoe  
       2017-01-11 22:19:48 +08:00 via Android
    看你想加什么
    psjay
        12
    psjay  
       2017-01-12 22:30:12 +08:00
    当成外部 API 来写什么语言都成。
    zhanghedr
        13
    zhanghedr  
       2017-01-13 12:05:16 +08:00
    有难度只能说
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2647 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:57 · PVG 09:57 · LAX 18:57 · JFK 21:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.